MercuryMeshManager Class Reference

General Mesh Manager, all new or deleted meshes should be created/destroyed with this. More...

#include <MercuryMesh.h>

Collaboration diagram for MercuryMeshManager:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

General Mesh Manager, all new or deleted meshes should be created/destroyed with this.

Definition at line 100 of file MercuryMesh.h.


Member Function Documentation

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.


Member Data Documentation

MHash< MercuryMeshCore * > MercuryMeshManager::m_hAllMeshes [private]

Definition at line 109 of file MercuryMesh.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo