OpenGLRaw-3.3.4.1: A raw binding for the OpenGL graphics system
Copyright(c) Sven Panne 2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.SamplerObjects

Description

 
Synopsis

Extension Support

glGetARBSamplerObjects :: MonadIO m => m Bool Source #

Is the ARB_sampler_objects extension supported?

gl_ARB_sampler_objects :: Bool Source #

Is the ARB_sampler_objects extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBSamplerObjects in those cases instead.

Enums

Functions

glBindSampler Source #

Arguments

:: MonadIO m 
=> GLuint

unit.

-> GLuint

sampler.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glDeleteSamplers Source #

Arguments

:: MonadIO m 
=> GLsizei

count.

-> Ptr GLuint

samplers pointing to count elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGenSamplers Source #

Arguments

:: MonadIO m 
=> GLsizei

count.

-> Ptr GLuint

samplers pointing to count elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetSamplerParameterIiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetSamplerParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLuint

params pointing to COMPSIZE(pname) elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetSamplerParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterF.

-> Ptr GLfloat

params pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glGetSamplerParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glIsSampler Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> m GLboolean

of type Boolean.

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameterIiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLint

param pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLuint

param pointing to COMPSIZE(pname) elements of type GLuint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameterf Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterF.

-> GLfloat

param.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterF.

-> Ptr GLfloat

param pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> GLint

param.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.

glSamplerParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname of type SamplerParameterI.

-> Ptr GLint

param pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

Manual pages for OpenGL 3.x or OpenGL 4.x.