#include <Mesh.h>
Inheritance diagram for NSMeshes::TMeshManager:
Public Member Functions | |
TMesh * | GetMesh (const TString &name) |
Returns specified mesh from manager. | |
BOOL | DestroyRendererResources (void) |
This method destroy all renderer resources from all meshes stored inside this mesh manager. | |
BOOL | LoadRendererResources (void) |
This method load all renderer resources to all meshes stored inside this mesh manager. | |
Static Public Member Functions | |
static TMeshManager * | CreateMeshManager (TRenderer *renderer) |
This static method creates mesh manager. | |
static void | DestroyMeshManager (TMeshManager *manager) |
This static method destroys specified mesh manager. | |
Friends | |
class | TMesh |
TMesh object can be created only via this class. You can create instance of this class via TMeshManager::CreateMeshManager and destroy it via TMeshManager::DestroyMeshManager.
* USING: Create manager via TMeshManager::CreateMeshManager * Get pointer to meshes via TMeshManager::GetMesh * ...application code... * Release all meshes via TMesh::Release * Destroy manager via TMeshManager::DestroyMeshManager *
Definition at line 111 of file Mesh.h.
|
This static method creates mesh manager.
Definition at line 293 of file Mesh.cpp. References DBGASSERT_GRAPHIC. |
|
This static method destroys specified mesh manager.
|
|
This method destroy all renderer resources from all meshes stored inside this mesh manager.
Definition at line 629 of file Mesh.cpp. References FALSE, TGlobalsSystem::GetLogFile(), NSMath::NSStdMath::log(), and TArrayPtrs< T, size, step >::Size(). Here is the call graph for this function: ![]() |
|
Returns specified mesh from manager. If mesh is not found in manager then is loaded from file. If there is no such file then NULL is returned.
Definition at line 318 of file Mesh.cpp. References NSMeshes::TMesh::AddRefs(), and TArrayPtrs< T, size, step >::Size(). Here is the call graph for this function: ![]() |
|
This method load all renderer resources to all meshes stored inside this mesh manager.
Definition at line 654 of file Mesh.cpp. References TString::c_str(), TGlobalsSystem::GetLogFile(), NSMeshes::TMesh::GetName(), NSMath::NSStdMath::log(), NSMeshes::TMesh::m_ib, NSMeshes::TMesh::m_vb, and TArrayPtrs< T, size, step >::Size(). Here is the call graph for this function: ![]() |
|
|