Buffer binding operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/buffer.hpp>
Public Types | |
typedef BufferTarget | Target |
Buffer bind targets. | |
typedef BufferIndexedTarget | IndexedTarget |
Buffer indexed bind targets. | |
Static Public Member Functions | |
static BufferName | Binding (Target target) |
Returns the current Buffer bound to specified target . More... | |
static void | Bind (Target target, BufferName buffer) |
Binds the specified buffer to the specified target . More... | |
static BufferName | Binding (IndexedTarget target, GLuint idx) |
Returns the current Buffer bound to specified indexed target . More... | |
static void | BindBase (IndexedTarget target, GLuint index, BufferName buffer) |
Bind the specified buffer to the specified indexed target . More... | |
static void | BindRange (IndexedTarget target, GLuint index, BufferName buffer, BufferSize offset, BufferSize size) |
Bind a range the specified buffer to the specified indexed target . More... | |
static void | BindBase (BufferIndexedTarget target, GLuint first, const Sequence< BufferName > &buffers) |
Sequentially binds buffers to target starting at first index. More... | |
Buffer binding operations.
|
static |
Binds the specified buffer
to the specified target
.
References oglplus::GetGLName().
|
static |
Bind the specified buffer
to the specified indexed target
.
Error |
References oglplus::GetGLName().
|
static |
Sequentially binds buffers
to target
starting at first
index.
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
static |
Returns the current Buffer bound to specified target
.
|
static |
Returns the current Buffer bound to specified indexed target
.
|
static |
Bind a range the specified buffer to the specified indexed target
.
Error |
References oglplus::BufferSize::Get(), and oglplus::GetGLName().