30 #ifndef __GLESHardwareIndexBuffer_H__
31 #define __GLESHardwareIndexBuffer_H__
50 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
52 void unlockImpl(
void);
57 bool useShadowBuffer);
60 void readData(
size_t offset,
size_t length,
void* pDest);
62 void writeData(
size_t offset,
size_t length,
63 const void* pSource,
bool discardWholeBuffer =
false);
65 void _updateFromShadow(
void);
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
LockOptions
Locking options.
GLuint getGLBufferId(void) const
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
bool mScratchUploadOnUnlock