Encapsulates vertex attribute value set functionality. More...
#include </home/chochlik/devel/oglplus/include/oglplus/vertex_attrib.hpp>
Inherits oglplus::ProgVarCommonOps< VarTag >, and oglplus::ProgVarBaseSetOps< OpsTag, VarTag, TypTag, T, M >.
Public Member Functions | |
void | SetValue (T value) |
Set the value of the vertex attribute. More... | |
ProgVarLoc & | Assign (ProgVarLoc that) |
Copy assignment. | |
ProgVarLoc & | BindTo (StrCRef identifier, bool is_active=true) |
Late initialization of the variable location from its identifier. | |
ProgramName | Program (void) const |
The program the variable belongs to. | |
GLint | Location (void) const |
Returns the location of the variable. | |
bool | IsActive (void) const |
Returns true if the variable is active. | |
OGLPLUS_EXPLICIT | operator bool (void) const |
Returns true if the variable is active. | |
Encapsulates vertex attribute value set functionality.
void oglplus::ProgVarGetSetOps< OpsTag, tag::VertexAttrib, T >::SetValue | ( | T | value | ) |
Set the value of the vertex attribute.