moGL
travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
|
#include <sampler.hpp>
Public Member Functions | |
Sampler () | |
~Sampler () | |
Sampler (const Sampler &other) | |
Sampler & | operator= (const Sampler &other) |
Sampler (Sampler &&other) | |
void | bind (GLuint unit) |
template<class T > | |
void | get (GLenum property, T *value) |
template<class T > | |
T | get (GLenum property) |
template<class T > | |
void | set (GLenum property, T value) |
bool | isHandleValid () const override final |
template<> | |
void | get (GLenum property, GLint *value) |
template<> | |
void | get (GLenum property, GLfloat *value) |
template<> | |
GLint | get (GLenum property) |
template<> | |
GLfloat | get (GLenum property) |
template<> | |
void | set (GLenum property, GLint value) |
template<> | |
void | set (GLenum property, GLenum value) |
template<> | |
void | set (GLenum property, GLfloat value) |
template<> | |
void | set (GLenum property, GLint *value) |
template<> | |
void | set (GLenum property, GLfloat *value) |
template<> | |
void | set (GLenum property, const GLint *value) |
template<> | |
void | set (GLenum property, const GLfloat *value) |
mogl::Sampler::Sampler | ( | ) | [inline] |
mogl::Sampler::~Sampler | ( | ) | [inline] |
mogl::Sampler::Sampler | ( | const Sampler & | other | ) |
mogl::Sampler::Sampler | ( | Sampler && | other | ) |
void mogl::Sampler::bind | ( | GLuint | unit | ) | [inline] |
void mogl::Sampler::get | ( | GLenum | property, |
T * | value | ||
) |
T mogl::Sampler::get | ( | GLenum | property | ) |
void mogl::Sampler::get | ( | GLenum | property, |
GLint * | value | ||
) | [inline] |
void mogl::Sampler::get | ( | GLenum | property, |
GLfloat * | value | ||
) | [inline] |
GLint mogl::Sampler::get | ( | GLenum | property | ) | [inline] |
GLfloat mogl::Sampler::get | ( | GLenum | property | ) | [inline] |
bool mogl::Sampler::isHandleValid | ( | ) | const [inline, override, virtual] |
Implements mogl::Handle< GLuint >.
void mogl::Sampler::set | ( | GLenum | property, |
T | value | ||
) |
void mogl::Sampler::set | ( | GLenum | property, |
GLint | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
GLenum | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
GLfloat | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
GLint * | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
GLfloat * | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
const GLint * | value | ||
) | [inline] |
void mogl::Sampler::set | ( | GLenum | property, |
const GLfloat * | value | ||
) | [inline] |