Container for GLSL vector uniform variables. More...
#include <UniformVector.hpp>
Public Member Functions | |
| UniformVector (const Tag &tag) | |
| virtual void | associate () |
| virtual void | apply () |
| virtual string | toString () const |
Private Attributes | |
| GLfloat | value [4] |
| GLint | size |
Container for GLSL vector uniform variables.
| UniformVector | ( | const Tag & | tag | ) |
Initializes the type and value (or link).
| NodeException | if type is not supported. | |
| NodeException | if value or link not specified. |
| void apply | ( | ) | [virtual] |
| NodeException | if unexpeted size is encountered. |
Implements Uniform.
| void associate | ( | ) | [virtual] |
Finds a Program node that is an ancestor of this node.
| NodeException | if program cannot be found. |
Reimplemented from Uniform.
| string toString | ( | ) | const [virtual] |
Forms a string from the object's attributes.
Reimplemented from Uniform.
1.6.3