A float uniform. More...
#include <ShaderVariable.hpp>


Public Member Functions | |
| ShaderVariable_1f (ShaderClass *s, const char *n, float val) | |
| void | updateVal () |
| Update the value of the variable on the GPU side. | |
A float uniform.
Definition at line 103 of file ShaderVariable.hpp.
| Graphics::Sensing::ShaderVariable_1f::ShaderVariable_1f | ( | ShaderClass * | s, | |
| const char * | n, | |||
| float | val | |||
| ) | [inline] |
| s | Associated shader | |
| n | Variable name | |
| val | Value for variable |
Definition at line 111 of file ShaderVariable.hpp.
| void Graphics::Sensing::ShaderVariable_1f::updateVal | ( | ) | [inline, virtual] |
Update the value of the variable on the GPU side.
Implements Graphics::Sensing::ShaderVariable.
Definition at line 117 of file ShaderVariable.hpp.