3#include "../Interface/Sampler.hpp"
OpenGL implementation of Sampler.
Definition: OpenGLSampler.hpp:10
~OpenGLSampler() final
Destructor.
Definition: OpenGLSampler.cpp:44
OpenGLSampler(Filter filter, Clamping clamping)
Create new OpenGL sampler.
Definition: OpenGLSampler.cpp:7
GLuint GetSampler(bool mipmap) const
Get the sampler.
Definition: OpenGLSampler.cpp:46
Determines how a texture should be sampled.
Definition: Sampler.hpp:6
Filter
The interpolation to apply.
Definition: Sampler.hpp:9
Clamping
How to handle sampling outside the texture dimensions.
Definition: Sampler.hpp:16
Definition: Editor.hpp:18