"L. Spiro Engine"
Public Member Functions | Protected Attributes

lst::CGeoClipmapXxYGrid Class Reference

A Geo Clipmap grid of X-by-Y vertices. More...

#include <LSTGeoClipmapXxYGrid.h>

List of all members.

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

Detailed Description

A Geo Clipmap grid of X-by-Y vertices.

Class CGeoClipmapXxYGrid Description: A Geo Clipmap grid of X-by-Y vertices.


Member Function Documentation

const CIndexBuffer& LSE_CALL lst::CGeoClipmapXxYGrid::DebugGetIndexBuffer ( ) const

Get our index buffer for debugging purposes only.

Returns:
Returns our index buffer for debugging purposes only.
const CVertexBuffer& LSE_CALL lst::CGeoClipmapXxYGrid::DebugGetVertexBuffer ( ) const

Get our vertex buffer for debugging purposes only.

Returns:
Returns 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.

Parameters:
_ui32XThe grid size along the X.
_ui32YThe grid size along the Y.
_paAllocatorOptional allocator.
Returns:
Returns true if the grid was created. False indicates a lack of memory.

Member Data Documentation

CIndexBuffer lst::CGeoClipmapXxYGrid::m_ibIndexBuffer [protected]

Our index buffer.

The previous X grid size.

The previous Y grid size.

CVertexBuffer lst::CGeoClipmapXxYGrid::m_vbVertexBuffer [protected]

Our vertex buffer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator