Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
Class for index buffers, still abstract. More...
#include <IndexBuffer.h>
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 |
Class for index buffers, still abstract.
render::IndexBuffer::IndexBuffer | ( | IndexType | idxType, |
u32 | numIndexes, | ||
resource::BufferUsage | usage, | ||
bool | systemMemory, | ||
bool | useShadowBuffer | ||
) |
References render::IT_16BIT, render::IT_32BIT, mIndexSize, mIndexType, mNumIndexes, and resource::Buffer::mSizeInBytes.
render::IndexBuffer::~IndexBuffer | ( | ) | [virtual] |
References resource::Buffer::mShadowBuffer.
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.
u32 render::IndexBuffer::mIndexSize [protected] |
Referenced by getIndexSize(), and IndexBuffer().
IndexType render::IndexBuffer::mIndexType [protected] |
Referenced by getType(), render::HardwareIndexBuffer::HardwareIndexBuffer(), and IndexBuffer().
u32 render::IndexBuffer::mNumIndexes [protected] |
Referenced by getNumIndexes(), render::HardwareIndexBuffer::HardwareIndexBuffer(), and IndexBuffer().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by
Doxygen
(1.7.4)
|