Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Attributes
render::IndexBuffer Class Reference

Class for index buffers, still abstract. More...

#include <IndexBuffer.h>

Inheritance diagram for render::IndexBuffer:
resource::Buffer render::HardwareIndexBuffer render::MemoryIndexBuffer

List of all members.

Public Member Functions

u32 getIndexSize ()
 Get the size in bytes of each index.
u32 getNumIndexes ()
 Get the number of indexes in this buffer.
IndexType getType ()
 Get the type of indexes used in this buffer.
 IndexBuffer (IndexType idxType, u32 numIndexes, resource::BufferUsage usage, bool systemMemory, bool useShadowBuffer)
virtual ~IndexBuffer ()

Protected Attributes

u32 mIndexSize
IndexType mIndexType
u32 mNumIndexes

Detailed Description

Class for index buffers, still abstract.


Constructor & Destructor Documentation

render::IndexBuffer::IndexBuffer ( IndexType  idxType,
u32  numIndexes,
resource::BufferUsage  usage,
bool  systemMemory,
bool  useShadowBuffer 
)
render::IndexBuffer::~IndexBuffer ( ) [virtual]

Member Function Documentation

u32 render::IndexBuffer::getIndexSize ( )

Get the size in bytes of each index.

References mIndexSize.

u32 render::IndexBuffer::getNumIndexes ( )

Get the number of indexes in this buffer.

References mNumIndexes.

IndexType render::IndexBuffer::getType ( )

Get the type of indexes used in this buffer.

References mIndexType.


Member Data Documentation

Referenced by getIndexSize(), and IndexBuffer().


The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by Doxygen (1.7.4)