|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CMeshSkinManager Class ReferenceA class used to render Skins in a VBHard, grouped by their skeleton This allow optimisation because less VBuffer swap is needed Also, only 2 Big VBHard is created for all the skins, which improves use of AGP space.
More...
#include <mesh_skin_manager.h>
List of all members.
Detailed Description
A class used to render Skins in a VBHard, grouped by their skeleton This allow optimisation because less VBuffer swap is needed Also, only 2 Big VBHard is created for all the skins, which improves use of AGP space.
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2002
Definition at line 46 of file mesh_skin_manager.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
NL3D::CMeshSkinManager::CMeshSkinManager |
( |
|
) |
|
|
NL3D::CMeshSkinManager::~CMeshSkinManager |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CMeshSkinManager::activate |
( |
|
) |
|
|
bool NL3D::CMeshSkinManager::enabled |
( |
|
) |
const [inline] |
|
|
false if error at init, eg if driver do no support VBHard, or if no more AGP memory.
Definition at line 65 of file mesh_skin_manager.h.
References _Enabled. |
IDriver* NL3D::CMeshSkinManager::getDriver |
( |
|
) |
const [inline] |
|
uint NL3D::CMeshSkinManager::getMaxVertices |
( |
|
) |
const [inline] |
|
uint NL3D::CMeshSkinManager::getVertexFormat |
( |
|
) |
const [inline] |
|
uint NL3D::CMeshSkinManager::getVertexSize |
( |
|
) |
const [inline] |
|
void NL3D::CMeshSkinManager::init |
( |
IDriver * |
driver, |
|
|
uint |
vertexFormat, |
|
|
uint |
maxVertices |
|
) |
|
|
|
init the manager with a driver, allocate the VBHards, and setup the vertexFormat.
Must call each time the drive changes
Definition at line 51 of file mesh_skin_manager.cpp.
References _CurentVBHard, _Driver, _Enabled, _MaxVertices, _VBHard, _VertexFormat, _VertexSize, nlassert, NumVBHard, and release. |
uint8 * NL3D::CMeshSkinManager::lock |
( |
|
) |
|
|
void NL3D::CMeshSkinManager::release |
( |
|
) |
|
|
void NL3D::CMeshSkinManager::swapVBHard |
( |
|
) |
|
|
void NL3D::CMeshSkinManager::unlock |
( |
uint |
numVertices |
) |
|
|
Member Data Documentation
uint NL3D::CMeshSkinManager::_CurentVBHard [private]
|
|
bool NL3D::CMeshSkinManager::_Enabled [private]
|
|
uint NL3D::CMeshSkinManager::_MaxVertices [private]
|
|
uint NL3D::CMeshSkinManager::_VertexFormat [private]
|
|
uint NL3D::CMeshSkinManager::_VertexSize [private]
|
|
The documentation for this class was generated from the following files:
|
|