#include <MercuryMesh.h>
Collaboration diagram for MercuryMeshManager:
Public Member Functions | |
bool | RegMesh (MercuryMesh *pOut, const MString &sName, bool bCanCache) |
Register a mesh, pOut is the new mesh, bCanCache determines if it can be cached or not. | |
void | UnregMesh (MercuryMesh *pIn) |
Unregister a mesh, if no more meshes of this type exist, delete the last copy. | |
Private Attributes | |
MHash< MercuryMeshCore * > | m_hAllMeshes |
Definition at line 100 of file MercuryMesh.h.
bool MercuryMeshManager::RegMesh | ( | MercuryMesh * | pOut, | |
const MString & | sName, | |||
bool | bCanCache | |||
) |
Register a mesh, pOut is the new mesh, bCanCache determines if it can be cached or not.
Definition at line 24 of file MercuryMesh.cpp.
void MercuryMeshManager::UnregMesh | ( | MercuryMesh * | pIn | ) |
Unregister a mesh, if no more meshes of this type exist, delete the last copy.
Definition at line 55 of file MercuryMesh.cpp.
MHash< MercuryMeshCore * > MercuryMeshManager::m_hAllMeshes [private] |
Definition at line 109 of file MercuryMesh.h.