| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/gl2/uniformvariable.h>

Public Member Functions | |
| UniformVariable (const std::string &name, const T &value) | |
| bool | operator== (const UniformVariable< T > &other) const |
| virtual std::string | name () const |
| Referes to the name of the variable in the shader. | |
| virtual const T & | getValue () const |
| virtual void | setValue (const T &newValue) |
| Set/get the value of the variable. | |
| VRS_TYPEINFO (UniformVariable, UniformVariableBase) | |
| VRS_SERIALIZABLE (UniformVariable) | |
Protected Member Functions | |
| UniformVariable () | |
| VRS::GL2::UniformVariable< T >::UniformVariable | ( | const std::string & | name, | |
| const T & | value | |||
| ) | [inline] |
Uniform variables provide a way to access and modify uniform variables of a shader program on a per-object basis. They are referenced by their name.
| VRS::GL2::UniformVariable< T >::UniformVariable | ( | ) | [inline, protected] |
| bool VRS::GL2::UniformVariable< T >::operator== | ( | const UniformVariable< T > & | other | ) | const [inline] |
| virtual std::string VRS::GL2::UniformVariable< T >::name | ( | ) | const [inline, virtual] |
Referes to the name of the variable in the shader.
| virtual const T& VRS::GL2::UniformVariable< T >::getValue | ( | ) | const [inline, virtual] |
| virtual void VRS::GL2::UniformVariable< T >::setValue | ( | const T & | newValue | ) | [inline, virtual] |
Set/get the value of the variable.
| VRS::GL2::UniformVariable< T >::VRS_TYPEINFO | ( | UniformVariable< T > | , | |
| UniformVariableBase | ||||
| ) |
| VRS::GL2::UniformVariable< T >::VRS_SERIALIZABLE | ( | UniformVariable< T > | ) |