OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjectOps< tag::DirectState, tag::VertexArray > Class Template Reference

Class wrapping vertex array-related functionality with direct state access. More...

#include </home/chochlik/devel/oglplus/include/oglplus/dsa/vertex_array.hpp>

Inheritance diagram for oglplus::ObjectOps< tag::DirectState, tag::VertexArray >:
Collaboration diagram for oglplus::ObjectOps< tag::DirectState, tag::VertexArray >:

Public Member Functions

ObjectOpsElementBuffer (BufferName buffer)
 Bind buffer to VAO's element buffer binding point. More...
 
const ObjectOpsEnableVertexAttrib (VertexAttribSlot location)
 Enable the specified vertex attribute array. More...
 
const ObjectOpsDisableVertexAttrib (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...
 

Detailed Description

template<>
class oglplus::ObjectOps< tag::DirectState, tag::VertexArray >

Class wrapping vertex array-related functionality with direct state access.

Note
Do not use this class directly, use DSAVertexArray instead.

Member Function Documentation

static void oglplus::ObjBindingOps< tag::VertexArray >::Bind ( VertexArrayName  vertex_array)
staticinherited

Binds the specified vertex_array object.

Related OpenGL symbols:
glBindVertexArray

References oglplus::GetGLName().

void oglplus::ObjCommonOps< tag::VertexArray >::Bind ( void  ) const
inherited

Binds this vertex array object.

Related OpenGL symbols:
glBindVertexArray
static VertexArrayName oglplus::ObjBindingOps< tag::VertexArray >::Binding ( void  )
staticinherited

Returns the currently bound VertexArray.

Related OpenGL symbols:
glGetIntegerv
const ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::DisableVertexAttrib ( VertexAttribSlot  location)

Disable the specified vertex attribute array.

Related OpenGL symbols:
glDisableVertexArrayAttrib
ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::ElementBuffer ( BufferName  buffer)

Bind buffer to VAO's element buffer binding point.

Related OpenGL symbols:
glVertexArrayElementBuffer

References oglplus::GetGLName().

const ObjectOps& oglplus::ObjectOps< tag::DirectState, tag::VertexArray >::EnableVertexAttrib ( VertexAttribSlot  location)

Enable the specified vertex attribute array.

Related OpenGL symbols:
glEnableVertexArrayAttrib

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).