OpenGLRaw-2.6.1.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 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.

-> 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.

-> 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.

-> 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.

-> 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.

-> 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.

-> 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.

-> GLfloat

param.

-> m () 

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

glSamplerParameterfv Source

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 Source

Arguments

:: MonadIO m 
=> GLuint

sampler.

-> GLenum

pname.

-> GLint

param.

-> m () 

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

glSamplerParameteriv Source

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.