28 #ifndef __HardwareIndexBuffer__
29 #define __HardwareIndexBuffer__
37 class HardwareBufferManagerBase;
63 bool useSystemMemory,
bool useShadowBuffer);
Shared pointer implementation used to share index buffers.
HardwareIndexBufferSharedPtr()
Reference-counted shared pointer, used for objects where implicit destruction is required.
HardwareBufferLockGuard< HardwareIndexBufferSharedPtr > HardwareIndexBufferLockGuard
Locking helper.
size_t getNumIndexes(void) const
Get the number of indexes in this buffer.
IndexType getType(void) const
Get the type of indexes used in this buffer.
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Base definition of a hardware buffer manager.
HardwareBufferManagerBase * mMgr
Abstract class defining common features of hardware buffers.
size_t getIndexSize(void) const
Get the size in bytes of each index.
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Usage
Enums describing buffer usage; not mutually exclusive.