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

Public Member Functions | |
| UberShaderUniformVariable (const std::string &name, const T &value) | |
| 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 (UberShaderUniformVariable, UniformVariableBase) | |
| VRS_SERIALIZABLE (UberShaderUniformVariable) | |
Protected Member Functions | |
| UberShaderUniformVariable (void) | |
| VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::UberShaderUniformVariable | ( | 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::EXTSHADER::UberShaderUniformVariable< T >::UberShaderUniformVariable | ( | void | ) | [inline, protected] |
| virtual std::string VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::name | ( | ) | const [inline, virtual] |
Referes to the name of the variable in the shader.
| virtual const T& VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::getValue | ( | ) | const [inline, virtual] |
| virtual void VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::setValue | ( | const T & | newValue | ) | [inline, virtual] |
Set/get the value of the variable.
| VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::VRS_TYPEINFO | ( | UberShaderUniformVariable< T > | , | |
| UniformVariableBase | ||||
| ) |
| VRS::GL2::EXTSHADER::UberShaderUniformVariable< T >::VRS_SERIALIZABLE | ( | UberShaderUniformVariable< T > | ) |