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... | |
Informations about a vertex attribute getter function of a ShapeBuilder
.
|
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: