|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CVertexBufferHeap Class ReferenceA vertex buffer used to group lot of static VB in it.
More...
#include <vertex_buffer_heap.h>
List of all members.
Detailed Description
A vertex buffer used to group lot of static VB in it.
Work with VBHard where available. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2002
Definition at line 46 of file vertex_buffer_heap.h.
Constructor & Destructor Documentation
NL3D::CVertexBufferHeap::CVertexBufferHeap |
( |
|
) |
|
|
NL3D::CVertexBufferHeap::~CVertexBufferHeap |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CVertexBufferHeap::activate |
( |
|
) |
|
|
bool NL3D::CVertexBufferHeap::allocate |
( |
uint |
numVertices, |
|
|
uint & |
indexStart |
|
) |
|
|
bool NL3D::CVertexBufferHeap::enabled |
( |
|
) |
const [inline] |
|
void NL3D::CVertexBufferHeap::free |
( |
uint |
indexStart |
) |
|
|
IDriver* NL3D::CVertexBufferHeap::getDriver |
( |
void |
|
) |
const [inline] |
|
uint NL3D::CVertexBufferHeap::getMaxVertices |
( |
|
) |
const [inline] |
|
uint NL3D::CVertexBufferHeap::getVertexFormat |
( |
void |
|
) |
const [inline] |
|
uint NL3D::CVertexBufferHeap::getVertexSize |
( |
void |
|
) |
const [inline] |
|
void NL3D::CVertexBufferHeap::init |
( |
IDriver * |
driver, |
|
|
uint |
vertexFormat, |
|
|
uint |
maxVertices |
|
) |
|
|
|
Create the vertex buffer heap. It use a VBHard if possible. else a std CVertexBuffer is used.
Definition at line 56 of file vertex_buffer_heap.cpp.
References _Driver, _Enabled, _HardMode, _HeapManager, _HeapStart, _MaxVertices, _VBHard, _VBSoft, _VertexFormat, _VertexSize, NLMISC::CHeapMemory::initHeap, nlassert, and release. |
uint8 * NL3D::CVertexBufferHeap::lock |
( |
uint |
indexStart |
) |
|
|
void NL3D::CVertexBufferHeap::release |
( |
|
) |
|
|
|
release the VB. init() can be called after this.
Definition at line 101 of file vertex_buffer_heap.cpp.
References _Driver, _Enabled, _HardMode, _HeapManager, _HeapStart, _MaxVertices, _VBHard, _VBSoft, _VertexFormat, _VertexSize, NLMISC::contReset, and nlassert.
Referenced by init, and ~CVertexBufferHeap. |
void NL3D::CVertexBufferHeap::unlock |
( |
uint |
startVert, |
|
|
uint |
endVert |
|
) |
|
|
Member Data Documentation
bool NL3D::CVertexBufferHeap::_Enabled [private]
|
|
bool NL3D::CVertexBufferHeap::_HardMode [private]
|
|
uint8* NL3D::CVertexBufferHeap::_HeapStart [private]
|
|
uint NL3D::CVertexBufferHeap::_MaxVertices [private]
|
|
uint NL3D::CVertexBufferHeap::_VertexFormat [private]
|
|
uint NL3D::CVertexBufferHeap::_VertexSize [private]
|
|
The documentation for this class was generated from the following files:
|
|