Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBShaderObjects :: MonadIO m => m Bool
- gl_ARB_shader_objects :: Bool
- pattern GL_BOOL_ARB :: GLenum
- pattern GL_BOOL_VEC2_ARB :: GLenum
- pattern GL_BOOL_VEC3_ARB :: GLenum
- pattern GL_BOOL_VEC4_ARB :: GLenum
- pattern GL_FLOAT_MAT2_ARB :: GLenum
- pattern GL_FLOAT_MAT3_ARB :: GLenum
- pattern GL_FLOAT_MAT4_ARB :: GLenum
- pattern GL_FLOAT_VEC2_ARB :: GLenum
- pattern GL_FLOAT_VEC3_ARB :: GLenum
- pattern GL_FLOAT_VEC4_ARB :: GLenum
- pattern GL_INT_VEC2_ARB :: GLenum
- pattern GL_INT_VEC3_ARB :: GLenum
- pattern GL_INT_VEC4_ARB :: GLenum
- pattern GL_OBJECT_ACTIVE_UNIFORMS_ARB :: GLenum
- pattern GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB :: GLenum
- pattern GL_OBJECT_ATTACHED_OBJECTS_ARB :: GLenum
- pattern GL_OBJECT_COMPILE_STATUS_ARB :: GLenum
- pattern GL_OBJECT_DELETE_STATUS_ARB :: GLenum
- pattern GL_OBJECT_INFO_LOG_LENGTH_ARB :: GLenum
- pattern GL_OBJECT_LINK_STATUS_ARB :: GLenum
- pattern GL_OBJECT_SHADER_SOURCE_LENGTH_ARB :: GLenum
- pattern GL_OBJECT_SUBTYPE_ARB :: GLenum
- pattern GL_OBJECT_TYPE_ARB :: GLenum
- pattern GL_OBJECT_VALIDATE_STATUS_ARB :: GLenum
- pattern GL_PROGRAM_OBJECT_ARB :: GLenum
- pattern GL_SAMPLER_1D_ARB :: GLenum
- pattern GL_SAMPLER_1D_SHADOW_ARB :: GLenum
- pattern GL_SAMPLER_2D_ARB :: GLenum
- pattern GL_SAMPLER_2D_RECT_ARB :: GLenum
- pattern GL_SAMPLER_2D_RECT_SHADOW_ARB :: GLenum
- pattern GL_SAMPLER_2D_SHADOW_ARB :: GLenum
- pattern GL_SAMPLER_3D_ARB :: GLenum
- pattern GL_SAMPLER_CUBE_ARB :: GLenum
- pattern GL_SHADER_OBJECT_ARB :: GLenum
- glAttachObjectARB :: MonadIO m => GLhandleARB -> GLhandleARB -> m ()
- glCompileShaderARB :: MonadIO m => GLhandleARB -> m ()
- glCreateProgramObjectARB :: MonadIO m => m GLhandleARB
- glCreateShaderObjectARB :: MonadIO m => GLenum -> m GLhandleARB
- glDeleteObjectARB :: MonadIO m => GLhandleARB -> m ()
- glDetachObjectARB :: MonadIO m => GLhandleARB -> GLhandleARB -> m ()
- glGetActiveUniformARB :: MonadIO m => GLhandleARB -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLcharARB -> m ()
- glGetAttachedObjectsARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLhandleARB -> m ()
- glGetHandleARB :: MonadIO m => GLenum -> m GLhandleARB
- glGetInfoLogARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLcharARB -> m ()
- glGetObjectParameterfvARB :: MonadIO m => GLhandleARB -> GLenum -> Ptr GLfloat -> m ()
- glGetObjectParameterivARB :: MonadIO m => GLhandleARB -> GLenum -> Ptr GLint -> m ()
- glGetShaderSourceARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr GLsizei -> Ptr GLcharARB -> m ()
- glGetUniformLocationARB :: MonadIO m => GLhandleARB -> Ptr GLcharARB -> m GLint
- glGetUniformfvARB :: MonadIO m => GLhandleARB -> GLint -> Ptr GLfloat -> m ()
- glGetUniformivARB :: MonadIO m => GLhandleARB -> GLint -> Ptr GLint -> m ()
- glLinkProgramARB :: MonadIO m => GLhandleARB -> m ()
- glShaderSourceARB :: MonadIO m => GLhandleARB -> GLsizei -> Ptr (Ptr GLcharARB) -> Ptr GLint -> m ()
- glUniform1fARB :: MonadIO m => GLint -> GLfloat -> m ()
- glUniform1fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform1iARB :: MonadIO m => GLint -> GLint -> m ()
- glUniform1ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform2fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> m ()
- glUniform2fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform2iARB :: MonadIO m => GLint -> GLint -> GLint -> m ()
- glUniform2ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform3fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glUniform3fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform3iARB :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m ()
- glUniform3ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform4fARB :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glUniform4fvARB :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform4iARB :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> m ()
- glUniform4ivARB :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniformMatrix2fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUniformMatrix3fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUniformMatrix4fvARB :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUseProgramObjectARB :: MonadIO m => GLhandleARB -> m ()
- glValidateProgramARB :: MonadIO m => GLhandleARB -> m ()
Extension Support
glGetARBShaderObjects :: MonadIO m => m Bool Source #
Is the ARB_shader_objects extension supported?
gl_ARB_shader_objects :: Bool Source #
Is the ARB_shader_objects extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBShaderObjects
in those cases instead.
Enums
pattern GL_BOOL_ARB :: GLenum Source #
pattern GL_BOOL_VEC2_ARB :: GLenum Source #
pattern GL_BOOL_VEC3_ARB :: GLenum Source #
pattern GL_BOOL_VEC4_ARB :: GLenum Source #
pattern GL_FLOAT_MAT2_ARB :: GLenum Source #
pattern GL_FLOAT_MAT3_ARB :: GLenum Source #
pattern GL_FLOAT_MAT4_ARB :: GLenum Source #
pattern GL_FLOAT_VEC2_ARB :: GLenum Source #
pattern GL_FLOAT_VEC3_ARB :: GLenum Source #
pattern GL_FLOAT_VEC4_ARB :: GLenum Source #
pattern GL_INT_VEC2_ARB :: GLenum Source #
pattern GL_INT_VEC3_ARB :: GLenum Source #
pattern GL_INT_VEC4_ARB :: GLenum Source #
pattern GL_OBJECT_ACTIVE_UNIFORMS_ARB :: GLenum Source #
pattern GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB :: GLenum Source #
pattern GL_OBJECT_ATTACHED_OBJECTS_ARB :: GLenum Source #
pattern GL_OBJECT_COMPILE_STATUS_ARB :: GLenum Source #
pattern GL_OBJECT_DELETE_STATUS_ARB :: GLenum Source #
pattern GL_OBJECT_INFO_LOG_LENGTH_ARB :: GLenum Source #
pattern GL_OBJECT_LINK_STATUS_ARB :: GLenum Source #
pattern GL_OBJECT_SHADER_SOURCE_LENGTH_ARB :: GLenum Source #
pattern GL_OBJECT_SUBTYPE_ARB :: GLenum Source #
pattern GL_OBJECT_TYPE_ARB :: GLenum Source #
pattern GL_OBJECT_VALIDATE_STATUS_ARB :: GLenum Source #
pattern GL_PROGRAM_OBJECT_ARB :: GLenum Source #
pattern GL_SAMPLER_1D_ARB :: GLenum Source #
pattern GL_SAMPLER_1D_SHADOW_ARB :: GLenum Source #
pattern GL_SAMPLER_2D_ARB :: GLenum Source #
pattern GL_SAMPLER_2D_RECT_ARB :: GLenum Source #
pattern GL_SAMPLER_2D_RECT_SHADOW_ARB :: GLenum Source #
pattern GL_SAMPLER_2D_SHADOW_ARB :: GLenum Source #
pattern GL_SAMPLER_3D_ARB :: GLenum Source #
pattern GL_SAMPLER_CUBE_ARB :: GLenum Source #
pattern GL_SHADER_OBJECT_ARB :: GLenum Source #
Functions
:: MonadIO m | |
=> GLhandleARB |
|
-> GLhandleARB |
|
-> m () |
This command is an alias for glAttachShader
.
:: MonadIO m | |
=> GLhandleARB |
|
-> m () |
This command is an alias for glCompileShader
.
glCreateProgramObjectARB Source #
:: MonadIO m | |
=> m GLhandleARB | of type |
This command is an alias for glCreateProgram
.
glCreateShaderObjectARB Source #
:: MonadIO m | |
=> GLenum |
|
-> m GLhandleARB | of type |
This command is an alias for glCreateShader
.
:: MonadIO m | |
=> GLhandleARB |
|
-> m () |
:: MonadIO m | |
=> GLhandleARB |
|
-> GLhandleARB |
|
-> m () |
This command is an alias for glDetachShader
.
glGetActiveUniformARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> GLuint |
|
-> GLsizei |
|
-> Ptr GLsizei |
|
-> Ptr GLint |
|
-> Ptr GLenum |
|
-> Ptr GLcharARB |
|
-> m () |
This command is an alias for glGetActiveUniform
.
glGetAttachedObjectsARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> GLsizei |
|
-> Ptr GLsizei |
|
-> Ptr GLhandleARB |
|
-> m () |
:: MonadIO m | |
=> GLenum |
|
-> m GLhandleARB | of type |
glGetObjectParameterfvARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> GLenum |
|
-> Ptr GLfloat |
|
-> m () |
glGetObjectParameterivARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> GLenum |
|
-> Ptr GLint |
|
-> m () |
:: MonadIO m | |
=> GLhandleARB |
|
-> GLsizei |
|
-> Ptr GLsizei |
|
-> Ptr GLcharARB |
|
-> m () |
This command is an alias for glGetShaderSource
.
glGetUniformLocationARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> Ptr GLcharARB |
|
-> m GLint |
This command is an alias for glGetUniformLocation
.
:: MonadIO m | |
=> GLhandleARB |
|
-> GLint |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glGetUniformfv
.
:: MonadIO m | |
=> GLhandleARB |
|
-> GLint |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glGetUniformiv
.
:: MonadIO m | |
=> GLhandleARB |
|
-> m () |
This command is an alias for glLinkProgram
.
:: MonadIO m | |
=> GLhandleARB |
|
-> GLsizei |
|
-> Ptr (Ptr GLcharARB) |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glShaderSource
.
This command is an alias for glUniform1f
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniform1fv
.
This command is an alias for glUniform1i
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glUniform1iv
.
This command is an alias for glUniform2f
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniform2fv
.
This command is an alias for glUniform2i
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glUniform2iv
.
This command is an alias for glUniform3f
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniform3fv
.
This command is an alias for glUniform3i
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glUniform3iv
.
This command is an alias for glUniform4f
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniform4fv
.
This command is an alias for glUniform4i
.
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glUniform4iv
.
glUniformMatrix2fvARB Source #
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniformMatrix2fv
.
glUniformMatrix3fvARB Source #
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniformMatrix3fv
.
glUniformMatrix4fvARB Source #
:: MonadIO m | |
=> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glUniformMatrix4fv
.
glUseProgramObjectARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> m () |
This command is an alias for glUseProgram
.
:: MonadIO m | |
=> GLhandleARB |
|
-> m () |
This command is an alias for glValidateProgram
.