"L. Spiro Engine"
Protected Attributes

lsg::CIndexBufferBase Class Reference

An index buffer. More...

#include <LSGIndexBufferBase.h>

List of all members.

Protected Attributes

CVectorPoD< LSUINT8, LSUINT32 > m_vBuffer
LSUINT32 m_ui32ElementSize
LSUINT32 m_ui32Usage
LSUINT32 m_ui32LockCount
LSUINT32 m_ui32AddedPrimitives
LSUINT32 m_ui32TotalIndices
LSBOOL m_bFinalized

Detailed Description

An index buffer.

Class CIndexBufferBase Description: An index buffer. Automatically uses the lowest suitable type for the given index data--that is it will use 16-bit indices if possible or upgrade to 32-bit automatically. This base class provides basic enumerations and a protected interface used only in debug mode. For the reasons behind this system, read the details in LSGVertexBufferBase.h.


Member Data Documentation

Has Finalize() been called?

Primitives added by triangle stripping.

Size of each element in the buffer.

Our lock count.

Number of indices.

LSUINT32 lsg::CIndexBufferBase::m_ui32Usage [protected]

Usage type.

CVectorPoD<LSUINT8, LSUINT32> lsg::CIndexBufferBase::m_vBuffer [protected]

The raw index buffer.


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