30 #ifndef __GLESHardwareVertexBuffer_H__ 31 #define __GLESHardwareVertexBuffer_H__ 52 void* lockImpl(
size_t offset,
size_t length, LockOptions options);
54 void unlockImpl(
void);
60 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID 62 virtual void notifyOnContextLost();
65 virtual void notifyOnContextReset();
74 void readData(
size_t offset,
size_t length,
void* pDest);
77 void writeData(
size_t offset,
size_t length,
78 const void* pSource,
bool discardWholeBuffer =
false);
81 void _updateFromShadow(
void);
Specialisation of HardwareBuffer for a vertex buffer.
Specialisation of HardwareVertexBuffer for OpenGL ES.
bool mScratchUploadOnUnlock
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
GLuint getGLBufferId(void) const