28 #ifndef __HardwareIndexBuffer__
29 #define __HardwareIndexBuffer__
37 class HardwareBufferManagerBase;
63 bool useSystemMemory,
bool useShadowBuffer);
Shared pointer implementation used to share index buffers.
HardwareIndexBufferSharedPtr()
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
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.
size_t getIndexSize(void) const
Get the size in bytes of each index.
Reference-counted shared pointer, used for objects where implicit destruction is required.
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.