28 #ifndef __GLHARDWAREINDEXBUFFER_H__
29 #define __GLHARDWAREINDEXBUFFER_H__
49 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
51 void unlockImpl(
void);
57 void readData(
size_t offset,
size_t length,
void* pDest);
59 void writeData(
size_t offset,
size_t length,
60 const void* pSource,
bool discardWholeBuffer =
false);
62 void _updateFromShadow(
void);
69 #endif // __GLHARDWAREINDEXBUFFER_H__
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
LockOptions
Locking options.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
GLuint getGLBufferId(void) const
bool mScratchUploadOnUnlock