28 #ifndef __HardwareIndexBuffer__ 29 #define __HardwareIndexBuffer__ 37 class HardwareBufferManagerBase;
63 bool useSystemMemory,
bool useShadowBuffer);
size_t getIndexSize(void) const
Get the size in bytes of each index.
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.
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Base definition of a hardware buffer manager.
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
HardwareBufferManagerBase * mMgr
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.
IndexType getType(void) const
Get the type of indexes used in this buffer.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Reference-counted shared pointer, used for objects where implicit destruction is required.