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__ GLuint getGLBufferId(void) const
Specialisation of HardwareBuffer for a counter buffer.
Base definition of a hardware buffer manager.
#define _OgreGL3PlusExport
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...
Specialisation of HardwareCounterBuffer for OpenGL.
GLint getGLBufferBinding(void) const