28 #ifndef __GL3PlusHARDWAREUNIFORMBUFFER_H__
29 #define __GL3PlusHARDWAREUNIFORMBUFFER_H__
45 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
47 void unlockImpl(
void);
51 bool useShadowBuffer,
const String& name);
55 void readData(
size_t offset,
size_t length,
void* pDest);
58 void writeData(
size_t offset,
size_t length,
59 const void* pSource,
bool discardWholeBuffer =
false);
63 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
66 void setGLBufferBinding(GLint binding);
70 #endif // __GL3PlusHARDWAREUNIFORMBUFFER_H__
LockOptions
Locking options.
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.