#include <buffer.h>
Public Types | |
typedef BoundObject | BaseType |
typedef BoundBuffer | ThisType |
Public Member Functions | |
BoundBuffer (void) | |
void | getSubData (GLintptr offset, GLsizeiptr size, GLvoid *data) |
const BufferHandle & | handle (void) const |
BufferHandle & | handle (void) |
bool | isMapped (void) const |
void * | map (GLenum access) |
GLenum | mapAccess (void) const |
void * | mapPointer (void) const |
void | setData (const GLsizeiptr size, GLenum usage, const GLvoid *data) |
void | setSubData (GLintptr offset, GLsizeiptr size, const GLvoid *data) |
void | unmap (void) |
Protected Member Functions | |
virtual void | bind (void) |
BoundBuffer (const BufferHandle &handle, const BufferBindingParams ¶ms) | |
const BufferPtr & | object (void) const |
BufferPtr & | object (void) |
virtual void | unbind (void) |
Friends | |
class | Context |
Reimplemented from glw::BoundObject.
Reimplemented in glw::BoundFeedbackBuffer, glw::BoundUniformBuffer, glw::BoundPixelUnpackBuffer, glw::BoundPixelPackBuffer, glw::BoundIndexBuffer, and glw::BoundVertexBuffer.
Reimplemented from glw::BoundObject.
Reimplemented in glw::BoundFeedbackBuffer, glw::BoundUniformBuffer, glw::BoundPixelUnpackBuffer, glw::BoundPixelPackBuffer, glw::BoundIndexBuffer, and glw::BoundVertexBuffer.
glw::BoundBuffer::BoundBuffer | ( | void | ) | [inline] |
glw::BoundBuffer::BoundBuffer | ( | const BufferHandle & | handle, |
const BufferBindingParams & | params | ||
) | [inline, protected] |
virtual void glw::BoundBuffer::bind | ( | void | ) | [inline, protected, virtual] |
Implements glw::BoundObject.
Reimplemented in glw::BoundFeedbackBuffer, and glw::BoundUniformBuffer.
void glw::BoundBuffer::getSubData | ( | GLintptr | offset, |
GLsizeiptr | size, | ||
GLvoid * | data | ||
) | [inline] |
const BufferHandle& glw::BoundBuffer::handle | ( | void | ) | const [inline] |
Reimplemented from glw::BoundObject.
BufferHandle& glw::BoundBuffer::handle | ( | void | ) | [inline] |
Reimplemented from glw::BoundObject.
bool glw::BoundBuffer::isMapped | ( | void | ) | const [inline] |
void* glw::BoundBuffer::map | ( | GLenum | access | ) | [inline] |
GLenum glw::BoundBuffer::mapAccess | ( | void | ) | const [inline] |
void* glw::BoundBuffer::mapPointer | ( | void | ) | const [inline] |
const BufferPtr& glw::BoundBuffer::object | ( | void | ) | const [inline, protected] |
Reimplemented from glw::BoundObject.
BufferPtr& glw::BoundBuffer::object | ( | void | ) | [inline, protected] |
Reimplemented from glw::BoundObject.
void glw::BoundBuffer::setData | ( | const GLsizeiptr | size, |
GLenum | usage, | ||
const GLvoid * | data | ||
) | [inline] |
void glw::BoundBuffer::setSubData | ( | GLintptr | offset, |
GLsizeiptr | size, | ||
const GLvoid * | data | ||
) | [inline] |
virtual void glw::BoundBuffer::unbind | ( | void | ) | [inline, protected, virtual] |
Implements glw::BoundObject.
Reimplemented in glw::BoundFeedbackBuffer, and glw::BoundUniformBuffer.
void glw::BoundBuffer::unmap | ( | void | ) | [inline] |
friend class Context [friend] |
Reimplemented from glw::BoundObject.
Reimplemented in glw::BoundFeedbackBuffer, glw::BoundUniformBuffer, glw::BoundPixelUnpackBuffer, glw::BoundPixelPackBuffer, glw::BoundIndexBuffer, and glw::BoundVertexBuffer.