OpenGLRaw-2.6.0.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2015
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.ARB.SamplerObjects

Contents

Description

 

Synopsis

Extension Support

glGetARBSamplerObjects :: MonadIO m => m Bool

Is the ARB_sampler_objects extension supported?

gl_ARB_sampler_objects :: Bool

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

Arguments

:: MonadIO m 
=> GLuint

unit.

-> GLuint

sampler.

-> m () 

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

glDeleteSamplers

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

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

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetSamplerParameterIuiv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLuint

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

-> m () 

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

glGetSamplerParameterfv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLfloat

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

-> m () 

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

glGetSamplerParameteriv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glIsSampler

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> m GLboolean

of type Boolean.

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

glSamplerParameterIiv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glSamplerParameterIuiv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLuint

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

-> m () 

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

glSamplerParameterf

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> GLfloat

param.

-> m () 

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

glSamplerParameterfv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLfloat

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

-> m () 

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

glSamplerParameteri

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> GLint

param.

-> m () 

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

glSamplerParameteriv

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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