nMeshArray Class Reference
#include <nmesharray.h>
Inheritance diagram for nMeshArray:

Detailed Description
Holds an array of up to nGfxServer2::MaxVertexStreams meshes. Can be posted to the nGfxServer to assign all streams to the graphics device.nMeshArray is normally a superclass for Gfx API specific derived classes, like Direct3D or OpenGL.
(C) 2004 RadonLabs GmbH
Definition at line 25 of file nmesharray.h.
Public Member Functions | |
| nMeshArray () | |
| constructor | |
| virtual | ~nMeshArray () |
| destructor | |
| virtual void | SetFilenameAt (int index, const nString &path) |
| set absolute path to resource file for index | |
| const nString & | GetFilenameAt (int index) const |
| get absolute path to resource file for index | |
| void | SetUsageAt (int index, int useFlags) |
| set the mesh use type | |
| int | GetUsageAt (int index) const |
| get the mesh use type | |
| nMesh2 * | GetMeshAt (int index) const |
| get the mesh object at index | |
Protected Member Functions | |
| virtual bool | LoadResource () |
| override in subclasse to perform actual resource loading | |
| virtual void | UnloadResource () |
| override in subclass to perform actual resource unloading | |
Protected Attributes | |
| nFixedArray< Element > | elements |
Classes | |
| class | Element |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 13 of file nmesharray_main.cc. |
|
|
destructor
Definition at line 22 of file nmesharray_main.cc. |
Member Function Documentation
|
||||||||||||
|
set absolute path to resource file for index Set the mesh filename for the specified stream.
Definition at line 69 of file nmesharray.h. |
|
|
get absolute path to resource file for index Get the mesh for the specified stream.
Definition at line 84 of file nmesharray.h. |
|
||||||||||||
|
set the mesh use type
Definition at line 105 of file nmesharray.h. |
|
|
get the mesh use type
Definition at line 115 of file nmesharray.h. |
|
|
get the mesh object at index only valid in between of Load-/UnloadResource(), Definition at line 95 of file nmesharray.h. |
|
|
override in subclasse to perform actual resource loading
Reimplemented from nResource. Reimplemented in nD3D9MeshArray. Definition at line 34 of file nmesharray_main.cc. |
|
|
override in subclass to perform actual resource unloading
Reimplemented from nResource. Reimplemented in nD3D9MeshArray. Definition at line 70 of file nmesharray_main.cc. |
Member Data Documentation
|
|
Definition at line 57 of file nmesharray.h. |
The documentation for this class was generated from the following files: