29 #ifndef __GL3PlusHardwareIndexBuffer_H__
30 #define __GL3PlusHardwareIndexBuffer_H__
49 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
51 void unlockImpl(
void);
56 bool useShadowBuffer);
59 void readData(
size_t offset,
size_t length,
void* pDest);
61 void writeData(
size_t offset,
size_t length,
62 const void* pSource,
bool discardWholeBuffer =
false);
65 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
67 void _updateFromShadow(
void);
73 #endif // __GL3PlusHARDWAREINDEXBUFFER_H__
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
bool mScratchUploadOnUnlock
LockOptions
Locking options.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
#define _OgreGL3PlusExport
GLuint getGLBufferId(void) const
Abstract class defining common features of hardware buffers.