|
Axmol 3.0.0-89d6d9a
|
MeshDataCache: the cache data of MeshRenderer, used to speed up the creation process of MeshRenderer. More...
#include <MeshDataCache.h>
Public Member Functions | |
| MeshRenderData * | getMeshRenderData (std::string_view key) const |
| get a MeshData object by key | |
| bool | addMeshRenderData (std::string_view key, MeshRenderData *meshdata) |
| add a MeshData object into the MeshRenderer with a specified key | |
| void | removeMeshRenderData (std::string_view key) |
| remove a MeshData from the MeshRenderer with a specified key | |
| void | removeAllMeshRenderData () |
| remove all the MeshData objects from the MeshRenderer | |
MeshDataCache: the cache data of MeshRenderer, used to speed up the creation process of MeshRenderer.
| MeshRenderData * getMeshRenderData | ( | std::string_view | key | ) | const |
get a MeshData object by key
@lua NA
| bool addMeshRenderData | ( | std::string_view | key, |
| MeshRenderData * | meshdata ) |
add a MeshData object into the MeshRenderer with a specified key
@lua NA