29 #ifndef __GLES2HardwareVertexBuffer_H__
30 #define __GLES2HardwareVertexBuffer_H__
46 void* lockImpl(
size_t offset,
size_t length, LockOptions options);
48 void unlockImpl(
void);
54 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
56 virtual void notifyOnContextLost();
59 virtual void notifyOnContextReset();
68 void readData(
size_t offset,
size_t length,
void* pDest);
71 void writeData(
size_t offset,
size_t length,
72 const void* pSource,
bool discardWholeBuffer =
false);
73 #if OGRE_NO_GLES3_SUPPORT == 0
76 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
79 void _updateFromShadow(
void);
Specialisation of HardwareVertexBuffer for OpenGL ES.
GLuint getGLBufferId(void) const
Specialisation of HardwareBuffer for a vertex buffer.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.