moGL  travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
 All Classes Namespaces Files Functions Variables Defines
Public Member Functions
mogl::Sampler Class Reference

#include <sampler.hpp>

Inheritance diagram for mogl::Sampler:
Inheritance graph
[legend]
Collaboration diagram for mogl::Sampler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Sampler ()
 ~Sampler ()
 Sampler (const Sampler &other)
Sampleroperator= (const Sampler &other)
 Sampler (Sampler &&other)
void bind (GLuint unit)
template<class T >
void get (GLenum property, T *value)
template<class 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)

Constructor & Destructor Documentation

mogl::Sampler::Sampler ( ) [inline]
mogl::Sampler::Sampler ( const Sampler other)

Member Function Documentation

void mogl::Sampler::bind ( GLuint  unit) [inline]
template<class T >
void mogl::Sampler::get ( GLenum  property,
T *  value 
)
template<class T >
T mogl::Sampler::get ( GLenum  property)
template<>
void mogl::Sampler::get ( GLenum  property,
GLint *  value 
) [inline]
template<>
void mogl::Sampler::get ( GLenum  property,
GLfloat *  value 
) [inline]
template<>
GLint mogl::Sampler::get ( GLenum  property) [inline]
template<>
GLfloat mogl::Sampler::get ( GLenum  property) [inline]
bool mogl::Sampler::isHandleValid ( ) const [inline, override, virtual]
Sampler& mogl::Sampler::operator= ( const Sampler other)
template<class T >
void mogl::Sampler::set ( GLenum  property,
value 
)
template<>
void mogl::Sampler::set ( GLenum  property,
GLint  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
GLenum  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
GLfloat  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
GLint *  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
GLfloat *  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
const GLint *  value 
) [inline]
template<>
void mogl::Sampler::set ( GLenum  property,
const GLfloat *  value 
) [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Defines