OpenGLRaw-2.5.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.ShaderObjects

Contents

Description

The ARB_shader_objects extension.

Synopsis

Enums

Functions

glAttachObjectARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

containerObj of type handleARB.

-> GLhandleARB

obj of type handleARB.

-> m () 

glCompileShaderARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

shaderObj of type handleARB.

-> m () 

glCreateProgramObjectARB Source

Arguments

:: MonadIO m 
=> m GLhandleARB

of type handleARB.

glCreateShaderObjectARB Source

Arguments

:: MonadIO m 
=> GLenum

shaderType.

-> m GLhandleARB

of type handleARB.

glDeleteObjectARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

obj of type handleARB.

-> m () 

glDetachObjectARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

containerObj of type handleARB.

-> GLhandleARB

attachedObj of type handleARB.

-> m () 

glGetActiveUniformARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> GLuint

index.

-> GLsizei

maxLength.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLint

size pointing to 1 elements of type GLint.

-> Ptr GLenum

type pointing to 1 elements of type GLenum.

-> Ptr GLcharARB

name pointing to maxLength elements of type GLcharARB.

-> m () 

glGetAttachedObjectsARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

containerObj of type handleARB.

-> GLsizei

maxCount.

-> Ptr GLsizei

count pointing to 1 elements of type GLsizei.

-> Ptr GLhandleARB

obj pointing to maxCount elements of type handleARB.

-> m () 

glGetHandleARB Source

Arguments

:: MonadIO m 
=> GLenum

pname.

-> m GLhandleARB

of type handleARB.

glGetInfoLogARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

obj of type handleARB.

-> GLsizei

maxLength.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLcharARB

infoLog pointing to maxLength elements of type GLcharARB.

-> m () 

glGetObjectParameterfvARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

obj of type handleARB.

-> GLenum

pname.

-> Ptr GLfloat

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

-> m () 

glGetObjectParameterivARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

obj of type handleARB.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

glGetShaderSourceARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

obj of type handleARB.

-> GLsizei

maxLength.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLcharARB

source pointing to maxLength elements of type GLcharARB.

-> m () 

glGetUniformLocationARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> Ptr GLcharARB

name.

-> m GLint 

glGetUniformfvARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> GLint

location.

-> Ptr GLfloat

params pointing to COMPSIZE(programObj,location) elements of type GLfloat.

-> m () 

glGetUniformivARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> GLint

location.

-> Ptr GLint

params pointing to COMPSIZE(programObj,location) elements of type GLint.

-> m () 

glLinkProgramARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> m () 

glShaderSourceARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

shaderObj of type handleARB.

-> GLsizei

count.

-> Ptr (Ptr GLcharARB)

string pointing to count elements of type Ptr GLcharARB.

-> Ptr GLint

length pointing to count elements of type GLint.

-> m () 

glUniform1fARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> m () 

glUniform1fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*1 elements of type GLfloat.

-> m () 

glUniform1iARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> m () 

glUniform1ivARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*1 elements of type GLint.

-> m () 

glUniform2fARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> m () 

glUniform2fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> m () 

glUniform2iARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> m () 

glUniform2ivARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> m () 

glUniform3fARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> m () 

glUniform3fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> m () 

glUniform3iARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> m () 

glUniform3ivARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> m () 

glUniform4fARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> m () 

glUniform4fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

glUniform4iARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> m () 

glUniform4ivARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> m () 

glUniformMatrix2fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

glUniformMatrix3fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> m () 

glUniformMatrix4fvARB Source

Arguments

:: MonadIO m 
=> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> m () 

glUseProgramObjectARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> m () 

glValidateProgramARB Source

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> m ()