"L. Spiro Engine"
|
A Geo Clipmap grid of X-by-Y vertices. More...
#include <LSTGeoClipmapXxYGrid.h>
Public Member Functions | |
LSVOID LSE_CALL | Reset () |
LSBOOL LSE_CALL | SetGridSize (LSUINT32 _ui32X, LSUINT32 _ui32Y, CAllocator *_paAllocator=NULL) |
const CIndexBuffer &LSE_CALL | DebugGetIndexBuffer () const |
const CVertexBuffer &LSE_CALL | DebugGetVertexBuffer () const |
Protected Attributes | |
LSUINT16 | m_ui16PrevGridSizeX |
LSUINT16 | m_ui16PrevGridSizeY |
CIndexBuffer | m_ibIndexBuffer |
CVertexBuffer | m_vbVertexBuffer |
A Geo Clipmap grid of X-by-Y vertices.
Class CGeoClipmapXxYGrid Description: A Geo Clipmap grid of X-by-Y vertices.
const CIndexBuffer& LSE_CALL lst::CGeoClipmapXxYGrid::DebugGetIndexBuffer | ( | ) | const |
Get our index buffer for debugging purposes only.
const CVertexBuffer& LSE_CALL lst::CGeoClipmapXxYGrid::DebugGetVertexBuffer | ( | ) | const |
Get our vertex buffer for debugging purposes only.
LSVOID LSE_CALL lst::CGeoClipmapXxYGrid::Reset | ( | ) |
Release fully all resources belonging to this class instance.
LSBOOL LSE_CALL lst::CGeoClipmapXxYGrid::SetGridSize | ( | LSUINT32 | _ui32X, |
LSUINT32 | _ui32Y, | ||
CAllocator * | _paAllocator = NULL |
||
) |
Set the size of the grid in vertices NxN.
_ui32X | The grid size along the X. |
_ui32Y | The grid size along the Y. |
_paAllocator | Optional allocator. |
CIndexBuffer lst::CGeoClipmapXxYGrid::m_ibIndexBuffer [protected] |
Our index buffer.
LSUINT16 lst::CGeoClipmapXxYGrid::m_ui16PrevGridSizeX [protected] |
The previous X grid size.
LSUINT16 lst::CGeoClipmapXxYGrid::m_ui16PrevGridSizeY [protected] |
The previous Y grid size.
CVertexBuffer lst::CGeoClipmapXxYGrid::m_vbVertexBuffer [protected] |
Our vertex buffer.