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__
Base definition of a hardware buffer manager.
#define _OgreGL3PlusExport
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.
LockOptions
Locking options.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...