|
Hymn to Beauty
C++ 3D Engine
|
OpenGL implementation of Sampler. More...
#include <OpenGLSampler.hpp>
Public Member Functions | |
| OpenGLSampler (Filter filter, Clamping clamping) | |
| Create new OpenGL sampler. More... | |
| ~OpenGLSampler () final | |
| Destructor. More... | |
| GLuint | GetSampler (bool mipmap) const |
| Get the sampler. More... | |
Public Member Functions inherited from Video::Sampler | |
| Sampler () | |
| Create a new sampler. More... | |
| virtual | ~Sampler () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from Video::Sampler | |
| enum class | Filter { NEAREST , LINEAR , COUNT } |
| The interpolation to apply. More... | |
| enum class | Clamping { REPEAT , CLAMP_TO_EDGE , COUNT } |
| How to handle sampling outside the texture dimensions. More... | |
OpenGL implementation of Sampler.
Create new OpenGL sampler.
| filter | The interpolation to apply. |
| clamping | How to handle sampling outside the texture dimensions. |
|
final |
Destructor.
| GLuint Video::OpenGLSampler::GetSampler | ( | bool | mipmap | ) | const |
Get the sampler.
| mipmap | Whether mipmaps should be enabled. |