OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::shapes::VertexAttribsInfo< ShapeBuiler > Class Reference

Informations about a vertex attribute getter function of a ShapeBuilder. More...

#include </home/chochlik/devel/oglplus/include/oglplus/shapes/vert_attr_info.hpp>

Public Member Functions

bool MakesVertexAttrib (StrCRef name) const
 Returns true if ShapeBuilder makes vertex attributes with name.
 

Static Public Member Functions

template<typename T >
static GetterFunction VertexAttribGetter (StrCRef name)
 Returns the vertex attribute getter function by its name. More...
 

Detailed Description

Informations about a vertex attribute getter function of a ShapeBuilder.

Member Function Documentation

template<typename T >
static GetterFunction oglplus::shapes::VertexAttribsInfo< ShapeBuiler >::VertexAttribGetter ( StrCRef  name)
static

Returns the vertex attribute getter function by its name.

This functions tries to find a vertex attribute getter function by the name of the vertex attribute. Returns a pointer to this function if the ShapeBuilder provides one, returns a null pointer otherwise.

The returned getter function has the following signature:

GLuint GetterFunction(const ShapeBuilder&, std::vector<T>&);

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).