A Value holding a Texture value. More...
#include <Value.h>
Public Member Functions | |
ValueSampler (UniformType type, const string &name) | |
Creates an uninitialized ValueSampler. | |
ValueSampler (UniformType type, const string &name, ptr< Texture > value) | |
Creates a ValueSampler. | |
virtual | ~ValueSampler () |
Deletes this ValueSampler. | |
virtual UniformType | getType () const |
Returns the type of this value. | |
ptr< Texture > | get () const |
Returns the current value of this ValueSampler. | |
void | set (const ptr< Texture > value) |
Sets the value of this uniform. |
A Value holding a Texture value.
ork::ValueSampler::ValueSampler | ( | UniformType | type, | |
const string & | name | |||
) |
Creates an uninitialized ValueSampler.
Creates a ValueSampler.
virtual ork::ValueSampler::~ValueSampler | ( | ) | [virtual] |
Deletes this ValueSampler.
Returns the current value of this ValueSampler.
virtual UniformType ork::ValueSampler::getType | ( | ) | const [virtual] |
Returns the type of this value.
Implements ork::Value.
Sets the value of this uniform.
value | the new value for this ValueSampler. |