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