29 #ifndef __GLES2HardwareIndexBuffer_H__
30 #define __GLES2HardwareIndexBuffer_H__
44 void* lockImpl(
size_t offset,
size_t length, LockOptions options);
46 void unlockImpl(
void);
52 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
54 virtual void notifyOnContextLost();
57 virtual void notifyOnContextReset();
63 bool useShadowBuffer);
66 void readData(
size_t offset,
size_t length,
void* pDest);
68 void writeData(
size_t offset,
size_t length,
69 const void* pSource,
bool discardWholeBuffer =
false);
70 #if OGRE_NO_GLES3_SUPPORT == 0
73 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
76 void _updateFromShadow(
void);
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
GLuint getGLBufferId(void) const
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.