28 #ifndef __GL3PlusHARDWAREVERTEXBUFFER_H__
29 #define __GL3PlusHARDWAREVERTEXBUFFER_H__
50 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
52 void unlockImpl(
void);
60 void readData(
size_t offset,
size_t length,
void* pDest);
63 void writeData(
size_t offset,
size_t length,
64 const void* pSource,
bool discardWholeBuffer =
false);
68 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
71 void _updateFromShadow(
void);
76 #endif // __GL3PlusHARDWAREVERTEXBUFFER_H__
LockOptions
Locking options.
GLuint getGLBufferId(void) const
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
#define _OgreGL3PlusExport
Abstract class defining common features of hardware buffers.
bool mScratchUploadOnUnlock
Specialisation of HardwareBuffer for a vertex buffer.
Specialisation of HardwareVertexBuffer for OpenGL.