gl-0.7.2: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.ShaderObjects

Contents

Synopsis

Extension Support

gl_ARB_shader_objects :: Bool Source

Checks that the GL_ARB_shader_objects extension is available.

GL_ARB_shader_objects

glAttachObjectARB :: MonadIO m => GLhandleARB -> GLhandleARB -> m () Source

Usage: glAttachObjectARB containerObj obj

The parameter containerObj is a handleARB.

The parameter obj is a handleARB.

This command is an alias for glAttachShader.

glCompileShaderARB :: MonadIO m => GLhandleARB -> m () Source

Usage: glCompileShaderARB shaderObj

The parameter shaderObj is a handleARB.

This command is an alias for glCompileShader.

glCreateShaderObjectARB :: MonadIO m => GLenum -> m GLhandleARB Source

Usage: glCreateShaderObjectARB shaderType

This command is an alias for glCreateShader.

glDeleteObjectARB :: MonadIO m => GLhandleARB -> m () Source

Usage: glDeleteObjectARB obj

The parameter obj is a handleARB.

glDetachObjectARB :: MonadIO m => GLhandleARB -> GLhandleARB -> m () Source

Usage: glDetachObjectARB containerObj attachedObj

The parameter containerObj is a handleARB.

The parameter attachedObj is a handleARB.

This command is an alias for glDetachShader.

glGetActiveUniformARB :: MonadIO m => GLhandleARB -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLcharARB -> m () Source

Usage: glGetActiveUniformARB programObj index maxLength length size type name

The parameter programObj is a handleARB.

The length of length should be 1.

The length of size should be 1.

The length of type should be 1.

The length of name should be maxLength.

This command is an alias for glGetActiveUniform.

glGetAttachedObjectsARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLhandleARB -> m () Source

Usage: glGetAttachedObjectsARB containerObj maxCount count obj

The parameter containerObj is a handleARB.

The parameter obj is a handleARB.

The length of count should be 1.

The length of obj should be maxCount.

glGetInfoLogARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLcharARB -> m () Source

Usage: glGetInfoLogARB obj maxLength length infoLog

The parameter obj is a handleARB.

The length of length should be 1.

The length of infoLog should be maxLength.

glGetObjectParameterfvARB :: MonadIO m => GLhandleARB -> GLenum -> Ptr GLfloat -> m () Source

Usage: glGetObjectParameterfvARB obj pname params

The parameter obj is a handleARB.

The length of params should be COMPSIZE(pname).

glGetObjectParameterivARB :: MonadIO m => GLhandleARB -> GLenum -> Ptr GLint -> m () Source

Usage: glGetObjectParameterivARB obj pname params

The parameter obj is a handleARB.

The length of params should be COMPSIZE(pname).

glGetShaderSourceARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLcharARB -> m () Source

Usage: glGetShaderSourceARB obj maxLength length source

The parameter obj is a handleARB.

The length of length should be 1.

The length of source should be maxLength.

This command is an alias for glGetShaderSource.

glGetUniformLocationARB :: MonadIO m => GLhandleARB -> Ptr GLcharARB -> m GLint Source

Usage: glGetUniformLocationARB programObj name

The parameter programObj is a handleARB.

This command is an alias for glGetUniformLocation.

glGetUniformfvARB :: MonadIO m => GLhandleARB -> GLint -> Ptr GLfloat -> m () Source

Usage: glGetUniformfvARB programObj location params

The parameter programObj is a handleARB.

The length of params should be COMPSIZE(programObj,location).

This command is an alias for glGetUniformfv.

glGetUniformivARB :: MonadIO m => GLhandleARB -> GLint -> Ptr GLint -> m () Source

Usage: glGetUniformivARB programObj location params

The parameter programObj is a handleARB.

The length of params should be COMPSIZE(programObj,location).

This command is an alias for glGetUniformiv.

glLinkProgramARB :: MonadIO m => GLhandleARB -> m () Source

Usage: glLinkProgramARB programObj

The parameter programObj is a handleARB.

This command is an alias for glLinkProgram.

glShaderSourceARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr (Ptr GLcharARB) -> Ptr GLint -> m () Source

Usage: glShaderSourceARB shaderObj count string length

The parameter shaderObj is a handleARB.

The length of string should be count.

The length of length should be count.

This command is an alias for glShaderSource.

glUniform1fARB :: MonadIO m => GLint -> GLfloat -> m () Source

Usage: glUniform1fARB location v0

This command is an alias for glUniform1f.

glUniform1fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source

Usage: glUniform1fvARB location count value

The length of value should be count*1.

This command is an alias for glUniform1fv.

glUniform1iARB :: MonadIO m => GLint -> GLint -> m () Source

Usage: glUniform1iARB location v0

This command is an alias for glUniform1i.

glUniform1ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source

Usage: glUniform1ivARB location count value

The length of value should be count*1.

This command is an alias for glUniform1iv.

glUniform2fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> m () Source

Usage: glUniform2fARB location v0 v1

This command is an alias for glUniform2f.

glUniform2fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source

Usage: glUniform2fvARB location count value

The length of value should be count*2.

This command is an alias for glUniform2fv.

glUniform2iARB :: MonadIO m => GLint -> GLint -> GLint -> m () Source

Usage: glUniform2iARB location v0 v1

This command is an alias for glUniform2i.

glUniform2ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source

Usage: glUniform2ivARB location count value

The length of value should be count*2.

This command is an alias for glUniform2iv.

glUniform3fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> m () Source

Usage: glUniform3fARB location v0 v1 v2

This command is an alias for glUniform3f.

glUniform3fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source

Usage: glUniform3fvARB location count value

The length of value should be count*3.

This command is an alias for glUniform3fv.

glUniform3iARB :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source

Usage: glUniform3iARB location v0 v1 v2

This command is an alias for glUniform3i.

glUniform3ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source

Usage: glUniform3ivARB location count value

The length of value should be count*3.

This command is an alias for glUniform3iv.

glUniform4fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source

Usage: glUniform4fARB location v0 v1 v2 v3

This command is an alias for glUniform4f.

glUniform4fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source

Usage: glUniform4fvARB location count value

The length of value should be count*4.

This command is an alias for glUniform4fv.

glUniform4iARB :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> m () Source

Usage: glUniform4iARB location v0 v1 v2 v3

This command is an alias for glUniform4i.

glUniform4ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source

Usage: glUniform4ivARB location count value

The length of value should be count*4.

This command is an alias for glUniform4iv.

glUniformMatrix2fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source

Usage: glUniformMatrix2fvARB location count transpose value

The parameter transpose is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of value should be count*4.

This command is an alias for glUniformMatrix2fv.

glUniformMatrix3fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source

Usage: glUniformMatrix3fvARB location count transpose value

The parameter transpose is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of value should be count*9.

This command is an alias for glUniformMatrix3fv.

glUniformMatrix4fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source

Usage: glUniformMatrix4fvARB location count transpose value

The parameter transpose is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of value should be count*16.

This command is an alias for glUniformMatrix4fv.

glUseProgramObjectARB :: MonadIO m => GLhandleARB -> m () Source

Usage: glUseProgramObjectARB programObj

The parameter programObj is a handleARB.

This command is an alias for glUseProgram.

glValidateProgramARB :: MonadIO m => GLhandleARB -> m () Source

Usage: glValidateProgramARB programObj

The parameter programObj is a handleARB.

This command is an alias for glValidateProgram.

pattern GL_BOOL_ARB :: () => (Eq a, Num a) => a Source

pattern GL_BOOL_VEC2_ARB :: () => (Eq a, Num a) => a Source

pattern GL_BOOL_VEC3_ARB :: () => (Eq a, Num a) => a Source

pattern GL_BOOL_VEC4_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_MAT2_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_MAT3_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_MAT4_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_VEC2_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_VEC3_ARB :: () => (Eq a, Num a) => a Source

pattern GL_FLOAT_VEC4_ARB :: () => (Eq a, Num a) => a Source

pattern GL_INT_VEC2_ARB :: () => (Eq a, Num a) => a Source

pattern GL_INT_VEC3_ARB :: () => (Eq a, Num a) => a Source

pattern GL_INT_VEC4_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_ACTIVE_UNIFORMS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_ATTACHED_OBJECTS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_COMPILE_STATUS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_DELETE_STATUS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_INFO_LOG_LENGTH_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_LINK_STATUS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_SHADER_SOURCE_LENGTH_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_SUBTYPE_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_TYPE_ARB :: () => (Eq a, Num a) => a Source

pattern GL_OBJECT_VALIDATE_STATUS_ARB :: () => (Eq a, Num a) => a Source

pattern GL_PROGRAM_OBJECT_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_1D_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_1D_SHADOW_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_2D_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_2D_RECT_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_2D_RECT_SHADOW_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_2D_SHADOW_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_3D_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SAMPLER_CUBE_ARB :: () => (Eq a, Num a) => a Source

pattern GL_SHADER_OBJECT_ARB :: () => (Eq a, Num a) => a Source