Copyright | (c) Sven Panne 2017 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBSeparateShaderObjects :: MonadIO m => m Bool
- gl_ARB_separate_shader_objects :: Bool
- pattern GL_ACTIVE_PROGRAM :: GLenum
- pattern GL_ALL_SHADER_BITS :: GLbitfield
- pattern GL_FRAGMENT_SHADER_BIT :: GLbitfield
- pattern GL_GEOMETRY_SHADER_BIT :: GLbitfield
- pattern GL_PROGRAM_PIPELINE_BINDING :: GLenum
- pattern GL_PROGRAM_SEPARABLE :: GLenum
- pattern GL_TESS_CONTROL_SHADER_BIT :: GLbitfield
- pattern GL_TESS_EVALUATION_SHADER_BIT :: GLbitfield
- pattern GL_VERTEX_SHADER_BIT :: GLbitfield
- glActiveShaderProgram :: MonadIO m => GLuint -> GLuint -> m ()
- glBindProgramPipeline :: MonadIO m => GLuint -> m ()
- glCreateShaderProgramv :: MonadIO m => GLenum -> GLsizei -> Ptr (Ptr GLchar) -> m GLuint
- glDeleteProgramPipelines :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenProgramPipelines :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGetProgramPipelineInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetProgramPipelineiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glIsProgramPipeline :: MonadIO m => GLuint -> m GLboolean
- glProgramParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m ()
- glProgramUniform1d :: MonadIO m => GLuint -> GLint -> GLdouble -> m ()
- glProgramUniform1dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m ()
- glProgramUniform1f :: MonadIO m => GLuint -> GLint -> GLfloat -> m ()
- glProgramUniform1fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
- glProgramUniform1i :: MonadIO m => GLuint -> GLint -> GLint -> m ()
- glProgramUniform1iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
- glProgramUniform1ui :: MonadIO m => GLuint -> GLint -> GLuint -> m ()
- glProgramUniform1uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m ()
- glProgramUniform2d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> m ()
- glProgramUniform2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m ()
- glProgramUniform2f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> m ()
- glProgramUniform2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
- glProgramUniform2i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> m ()
- glProgramUniform2iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
- glProgramUniform2ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> m ()
- glProgramUniform2uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m ()
- glProgramUniform3d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> GLdouble -> m ()
- glProgramUniform3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m ()
- glProgramUniform3f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glProgramUniform3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
- glProgramUniform3i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> m ()
- glProgramUniform3iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
- glProgramUniform3ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> GLuint -> m ()
- glProgramUniform3uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m ()
- glProgramUniform4d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m ()
- glProgramUniform4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m ()
- glProgramUniform4f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glProgramUniform4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
- glProgramUniform4i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> m ()
- glProgramUniform4iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
- glProgramUniform4ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
- glProgramUniform4uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m ()
- glProgramUniformMatrix2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix2x3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix2x3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix2x4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix2x4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix3x2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix3x2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix3x4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix3x4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix4x2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix4x2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glProgramUniformMatrix4x3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m ()
- glProgramUniformMatrix4x3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUseProgramStages :: MonadIO m => GLuint -> GLbitfield -> GLuint -> m ()
- glValidateProgramPipeline :: MonadIO m => GLuint -> m ()
Extension Support
glGetARBSeparateShaderObjects :: MonadIO m => m Bool Source #
Is the ARB_separate_shader_objects extension supported?
gl_ARB_separate_shader_objects :: Bool Source #
Is the ARB_separate_shader_objects extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBSeparateShaderObjects
in those cases instead.
Enums
pattern GL_ACTIVE_PROGRAM :: GLenum Source #
pattern GL_ALL_SHADER_BITS :: GLbitfield Source #
pattern GL_FRAGMENT_SHADER_BIT :: GLbitfield Source #
pattern GL_GEOMETRY_SHADER_BIT :: GLbitfield Source #
pattern GL_PROGRAM_PIPELINE_BINDING :: GLenum Source #
pattern GL_PROGRAM_SEPARABLE :: GLenum Source #
pattern GL_TESS_CONTROL_SHADER_BIT :: GLbitfield Source #
pattern GL_TESS_EVALUATION_SHADER_BIT :: GLbitfield Source #
pattern GL_VERTEX_SHADER_BIT :: GLbitfield Source #
Functions
glActiveShaderProgram Source #
Manual page for OpenGL 4.x.
glCreateShaderProgramv Source #
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> Ptr (Ptr GLchar) |
|
-> m GLuint |
Manual page for OpenGL 4.x.
glDeleteProgramPipelines Source #
Manual page for OpenGL 4.x.
glGenProgramPipelines Source #
Manual page for OpenGL 4.x.
glGetProgramPipelineInfoLog Source #
:: MonadIO m | |
=> GLuint |
|
-> GLsizei |
|
-> Ptr GLsizei |
|
-> Ptr GLchar |
|
-> m () |
Manual page for OpenGL 4.x.
glGetProgramPipelineiv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> GLint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLfloat |
|
-> GLfloat |
|
-> GLfloat |
|
-> GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLuint |
|
-> GLuint |
|
-> GLuint |
|
-> GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> Ptr GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix2fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix2x3fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix2x4fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix3fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix3x2fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix3x4fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix4fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix4x2fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
glProgramUniformMatrix4x3fv Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLsizei |
|
-> GLboolean |
|
-> Ptr GLfloat |
|
-> m () |
Manual page for OpenGL 4.x.
:: MonadIO m | |
=> GLuint |
|
-> GLbitfield |
|
-> GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
glValidateProgramPipeline Source #
Manual page for OpenGL 4.x.