29 #ifndef __GLES2HardwareVertexBuffer_H__
30 #define __GLES2HardwareVertexBuffer_H__
45 void* lockImpl(
size_t offset,
size_t length, LockOptions options);
47 void unlockImpl(
void);
53 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
55 virtual void notifyOnContextLost();
58 virtual void notifyOnContextReset();
67 void readData(
size_t offset,
size_t length,
void* pDest);
70 void writeData(
size_t offset,
size_t length,
71 const void* pSource,
bool discardWholeBuffer =
false);
72 #if OGRE_NO_GLES3_SUPPORT == 0
75 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
78 void _updateFromShadow(
void);
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
Specialisation of HardwareVertexBuffer for OpenGL ES.
Abstract class defining common features of hardware buffers.
Specialisation of HardwareBuffer for a vertex buffer.
GLuint getGLBufferId(void) const