28 #ifndef __GL3PlusHARDWARECOUNTERBUFFER_H__
29 #define __GL3PlusHARDWARECOUNTERBUFFER_H__
45 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
47 void unlockImpl(
void);
54 void readData(
size_t offset,
size_t length,
void* pDest);
57 void writeData(
size_t offset,
size_t length,
58 const void* pSource,
bool discardWholeBuffer =
false);
62 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
65 void setGLBufferBinding(GLint binding);
69 #endif // __GL3PlusHARDWARECounterBUFFER_H__
Specialisation of HardwareBuffer for a counter buffer.
Base definition of a hardware buffer manager.
#define _OgreGL3PlusExport
GLuint getGLBufferId(void) const
Abstract class defining common features of hardware buffers.
LockOptions
Locking options.
GLint getGLBufferBinding(void) const
Specialisation of HardwareCounterBuffer for OpenGL.