#include <Mesh.h>
Inheritance diagram for NSMeshes::TMesh:
Public Member Functions | |
TRendererVertexBuffer * | GetVB (void) const |
Returns pointer to actual vertex buffer used for this mesh. | |
TRendererIndexBuffer * | GetIB (void) const |
Returns pointer to actual index buffer used for this mesh. | |
const TMeshRenderInfo & | GetRenderInfo (void) const |
Returns structure with information required for rendering mesh from its VB and IB. | |
const TDeclaration * | GetDeclaration (void) const |
Returns vertex type number of vertices used in this mesh. | |
const TString & | GetName (void) const |
Returns name of this mesh. | |
void | AddRefs (void) |
Increase number of references to this mesh. | |
void | Release (void) |
Decreases number of references to this mesh. | |
Friends | |
class | TMeshManager |
class | TArrayPtrs< TMesh > |
Mesh must contain TRIANGLES!!!.
TMesh contains reference to TDeclaration which is loaded from TDeclarationManager!!! TMesh contains VB and IB for renderer. Also can reload its content (for device-lost state)
You cannot create TMesh directly - it can be be created only via TMeshManager!!!
Definition at line 155 of file Mesh.h.
|
Increase number of references to this mesh.
Definition at line 271 of file Mesh.h. Referenced by NSMeshes::TMeshManager::GetMesh(). |
|
Returns vertex type number of vertices used in this mesh.
|
|
Returns pointer to actual index buffer used for this mesh.
|
|
Returns name of this mesh.
Definition at line 264 of file Mesh.h. Referenced by NSMeshes::TMeshManager::LoadRendererResources(). |
|
Returns structure with information required for rendering mesh from its VB and IB.
|
|
Returns pointer to actual vertex buffer used for this mesh.
|
|
Decreases number of references to this mesh.
Definition at line 282 of file Mesh.h. References DBGASSERT_GRAPHICLOW, and NSMeshes::TMeshManager::DestroyMesh(). Here is the call graph for this function: ![]() |
|
|
|
|