Class wrapping vertex array-related functionality with direct state access. More...
#include </home/chochlik/devel/oglplus/include/oglplus/dsa/vertex_array.hpp>
Public Member Functions | |
ObjectOps & | ElementBuffer (BufferName buffer) |
Bind buffer to VAO's element buffer binding point. More... | |
const ObjectOps & | EnableVertexAttrib (VertexAttribSlot location) |
Enable the specified vertex attribute array. More... | |
const ObjectOps & | DisableVertexAttrib (VertexAttribSlot location) |
Disable the specified vertex attribute array. More... | |
void | Bind (void) const |
Binds this vertex array object. More... | |
Static Public Member Functions | |
static void | Bind (VertexArrayName vertex_array) |
Binds the specified vertex_array object. More... | |
static VertexArrayName | Binding (void) |
Returns the currently bound VertexArray. More... | |
Class wrapping vertex array-related functionality with direct state access.
|
staticinherited |
Binds the specified vertex_array
object.
References oglplus::GetGLName().
|
inherited |
Binds this vertex array object.
|
staticinherited |
Returns the currently bound VertexArray.
const ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::DisableVertexAttrib | ( | VertexAttribSlot | location | ) |
Disable the specified vertex attribute array.
ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::ElementBuffer | ( | BufferName | buffer | ) |
Bind buffer to VAO's element buffer binding point.
References oglplus::GetGLName().
const ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::EnableVertexAttrib | ( | VertexAttribSlot | location | ) |
Enable the specified vertex attribute array.