Source

glxx / include / glxx / gl_arb_sampler_objects.h

Full commit
yotis d53be90 



























#ifndef GL_ARB_sampler_objects
#define GL_ARB_sampler_objects

#include "private/glxx.h"

#define GL_SAMPLER_BINDING 0x8919


namespace gl_arb_sampler_objects 
{
    void glGenSamplers(GLsizei count, GLuint* samplers);
    void glDeleteSamplers(GLsizei count, const GLuint* samplers);
    GLboolean glIsSampler(GLuint sampler);
    void glBindSampler(GLuint unit, GLuint sampler);
    void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
    void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* param);
    void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
    void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* param);
    void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint* param);
    void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint* param);
    void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
    void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint* params);
    void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
    void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint* params);
}
bool has_gl_arb_sampler_objects();
bool load_gl_arb_sampler_objects();

#endif