29 #ifndef __GLES2HardwareVertexBuffer_H__
30 #define __GLES2HardwareVertexBuffer_H__
50 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
52 void unlockImpl(
void);
60 void readData(
size_t offset,
size_t length,
void* pDest);
63 void writeData(
size_t offset,
size_t length,
64 const void* pSource,
bool discardWholeBuffer =
false);
67 void _updateFromShadow(
void);
LockOptions
Locking options.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
Specialisation of HardwareVertexBuffer for OpenGL ES.
Specialisation of HardwareBuffer for a vertex buffer.
GLuint getGLBufferId(void) const
bool mScratchUploadOnUnlock