A texture sampler. More...
#include <Sampler.h>
Classes | |
class | Parameters |
A set of texture sampling parameters. More... | |
Public Member Functions | |
Sampler (const Parameters &value) | |
Creates a new sampler with the given parameters. | |
~Sampler () | |
Deletes this sampler. | |
GLuint | getId () const |
Returns the id of this sampler. |
A texture sampler.
A texture sampler can be used in a UniformSampler to change the default sampling parameters of a texture.
ork::Sampler::Sampler | ( | const Parameters & | value | ) |
Creates a new sampler with the given parameters.
value | the sampler parameters. |
ork::Sampler::~Sampler | ( | ) |
Deletes this sampler.
GLuint ork::Sampler::getId | ( | ) | const |
Returns the id of this sampler.