28 #ifndef __GLES2HARDWAREUNIFORMBUFFER_H__
29 #define __GLES2HARDWAREUNIFORMBUFFER_H__
34 #if OGRE_NO_GLES3_SUPPORT == 0
47 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
49 void unlockImpl(
void);
53 bool useShadowBuffer,
const String& name);
57 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);
65 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
68 void setGLBufferBinding(GLint binding);
72 #endif // __GLES2HARDWAREUNIFORMBUFFER_H__
LockOptions
Locking options.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.