30 #ifndef __GLESHardwareIndexBuffer_H__
31 #define __GLESHardwareIndexBuffer_H__
51 void* lockImpl(
size_t offset,
size_t length, LockOptions options);
53 void unlockImpl(
void);
59 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
61 virtual void notifyOnContextLost();
64 virtual void notifyOnContextReset();
70 bool useShadowBuffer);
73 void readData(
size_t offset,
size_t length,
void* pDest);
75 void writeData(
size_t offset,
size_t length,
76 const void* pSource,
bool discardWholeBuffer =
false);
78 void _updateFromShadow(
void);
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Base definition of a hardware buffer manager.
bool mScratchUploadOnUnlock
Usage
Enums describing buffer usage; not mutually exclusive.
GLuint getGLBufferId(void) const