28 #ifndef __GLHARDWAREVERTEXBUFFER_H__ 29 #define __GLHARDWAREVERTEXBUFFER_H__ 50 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
52 void unlockImpl(
void);
58 void readData(
size_t offset,
size_t length,
void* pDest);
60 void writeData(
size_t offset,
size_t length,
61 const void* pSource,
bool discardWholeBuffer =
false);
63 void _updateFromShadow(
void);
69 #endif // __GLHARDWAREVERTEXBUFFER_H__
bool mScratchUploadOnUnlock
Specialisation of HardwareBuffer for a vertex buffer.
GLuint getGLBufferId(void) const
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
LockOptions
Locking options.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Specialisation of HardwareVertexBuffer for OpenGL.