Container for GLSL sampler uniform variables. More...
#include <UniformSampler.hpp>
Public Member Functions | |
UniformSampler (const Tag &tag) | |
virtual void | associate () |
virtual void | apply () |
virtual GLint | getValue () const |
virtual string | toString () const |
Private Attributes | |
GLint | value |
Container for GLSL sampler uniform variables.
UniformSampler | ( | const Tag & | tag | ) |
NodeException | if link attribute is not specified. |
void associate | ( | ) | [virtual] |
Finds a Program node that is an ancestor of this node.
NodeException | if program cannot be found. |
Reimplemented from Uniform.
GLint getValue | ( | ) | const [inline, virtual] |
string toString | ( | ) | const [virtual] |
Forms a string from the object's attributes.
Reimplemented from Uniform.