Determines how a texture should be sampled.
Definition: Sampler.hpp:6
virtual ~Sampler()
Destructor.
Definition: Sampler.hpp:26
Sampler()
Create a new sampler.
Definition: Sampler.hpp:23
Filter
The interpolation to apply.
Definition: Sampler.hpp:9
@ COUNT
Number of entries in enum.
@ LINEAR
Bilinear filtering.
@ NEAREST
Nearest neighbor.
Clamping
How to handle sampling outside the texture dimensions.
Definition: Sampler.hpp:16
@ COUNT
Number of entries in enum.
@ REPEAT
Repeat the texture.
@ CLAMP_TO_EDGE
Clamp to the edge of the texture.
Definition: Editor.hpp:18