gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Core41

Contents

Synopsis

Graphics.GL.Core41

glCreateShaderProgramv :: MonadIO m => GLenum -> GLsizei -> Ptr (Ptr GLchar) -> m GLuint Source #

Usage: glCreateShaderProgramv type count strings

The length of strings should be count.

glDepthRangeArrayv :: MonadIO m => GLuint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glDepthRangeArrayv first count v

The length of v should be COMPSIZE(count).

glGetDoublei_v :: MonadIO m => GLenum -> GLuint -> Ptr GLdouble -> m () Source #

Usage: glGetDoublei_v target index data

The length of data should be COMPSIZE(target).

glGetFloati_v :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m () Source #

Usage: glGetFloati_v target index data

The parameter target is a TypeEnum.

The length of data should be COMPSIZE(target).

glGetProgramBinary :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLenum -> Ptr () -> m () Source #

Usage: glGetProgramBinary program bufSize length binaryFormat binary

The length of length should be 1.

The length of binaryFormat should be 1.

The length of binary should be bufSize.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetProgramBinary.xhtml

glGetProgramPipelineInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #

Usage: glGetProgramPipelineInfoLog pipeline bufSize length infoLog

The length of length should be 1.

The length of infoLog should be bufSize.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetProgramPipelineInfoLog.xhtml

glGetProgramPipelineiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetProgramPipelineiv pipeline pname params

The length of params should be COMPSIZE(pname).

glGetShaderPrecisionFormat :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> Ptr GLint -> m () Source #

Usage: glGetShaderPrecisionFormat shadertype precisiontype range precision

The length of range should be 2.

The length of precision should be 2.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetShaderPrecisionFormat.xhtml

glGetVertexAttribLdv :: MonadIO m => GLuint -> GLenum -> Ptr GLdouble -> m () Source #

Usage: glGetVertexAttribLdv index pname params

The length of params should be COMPSIZE(pname).

glProgramBinary :: MonadIO m => GLuint -> GLenum -> Ptr () -> GLsizei -> m () Source #

Usage: glProgramBinary program binaryFormat binary length

The length of binary should be length.

Manual page: https://www.opengl.org/sdk/docs/man/html/glProgramBinary.xhtml

glProgramParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m () Source #

Usage: glProgramParameteri program pname value

The parameter pname is a ProgramParameterPName.

glProgramUniform1d :: MonadIO m => GLuint -> GLint -> GLdouble -> m () Source #

Usage: glProgramUniform1d program location v0

glProgramUniform1dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glProgramUniform1dv program location count value

The length of value should be count.

glProgramUniform1f :: MonadIO m => GLuint -> GLint -> GLfloat -> m () Source #

Usage: glProgramUniform1f program location v0

glProgramUniform1fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glProgramUniform1fv program location count value

The length of value should be count.

glProgramUniform1i :: MonadIO m => GLuint -> GLint -> GLint -> m () Source #

Usage: glProgramUniform1i program location v0

glProgramUniform1iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m () Source #

Usage: glProgramUniform1iv program location count value

The length of value should be count.

glProgramUniform1ui :: MonadIO m => GLuint -> GLint -> GLuint -> m () Source #

Usage: glProgramUniform1ui program location v0

glProgramUniform1uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glProgramUniform1uiv program location count value

The length of value should be count.

glProgramUniform2d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> m () Source #

Usage: glProgramUniform2d program location v0 v1

glProgramUniform2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glProgramUniform2dv program location count value

The length of value should be count*2.

glProgramUniform2f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> m () Source #

Usage: glProgramUniform2f program location v0 v1

glProgramUniform2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glProgramUniform2fv program location count value

The length of value should be count*2.

glProgramUniform2i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> m () Source #

Usage: glProgramUniform2i program location v0 v1

glProgramUniform2iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m () Source #

Usage: glProgramUniform2iv program location count value

The length of value should be count*2.

glProgramUniform2ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> m () Source #

Usage: glProgramUniform2ui program location v0 v1

glProgramUniform2uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glProgramUniform2uiv program location count value

The length of value should be count*2.

glProgramUniform3d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glProgramUniform3d program location v0 v1 v2

glProgramUniform3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glProgramUniform3dv program location count value

The length of value should be count*3.

glProgramUniform3f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glProgramUniform3f program location v0 v1 v2

glProgramUniform3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glProgramUniform3fv program location count value

The length of value should be count*3.

glProgramUniform3i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glProgramUniform3i program location v0 v1 v2

glProgramUniform3iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m () Source #

Usage: glProgramUniform3iv program location count value

The length of value should be count*3.

glProgramUniform3ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> GLuint -> m () Source #

Usage: glProgramUniform3ui program location v0 v1 v2

glProgramUniform3uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glProgramUniform3uiv program location count value

The length of value should be count*3.

glProgramUniform4d :: MonadIO m => GLuint -> GLint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glProgramUniform4d program location v0 v1 v2 v3

glProgramUniform4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m () Source #

Usage: glProgramUniform4dv program location count value

The length of value should be count*4.

glProgramUniform4f :: MonadIO m => GLuint -> GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glProgramUniform4f program location v0 v1 v2 v3

glProgramUniform4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glProgramUniform4fv program location count value

The length of value should be count*4.

glProgramUniform4i :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glProgramUniform4i program location v0 v1 v2 v3

glProgramUniform4iv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m () Source #

Usage: glProgramUniform4iv program location count value

The length of value should be count*4.

glProgramUniform4ui :: MonadIO m => GLuint -> GLint -> GLuint -> GLuint -> GLuint -> GLuint -> m () Source #

Usage: glProgramUniform4ui program location v0 v1 v2 v3

glProgramUniform4uiv :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glProgramUniform4uiv program location count value

The length of value should be count*4.

glProgramUniformMatrix2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix2dv program location count transpose value

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

The length of value should be count*4.

glProgramUniformMatrix2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix2fv program location count transpose value

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

The length of value should be count*4.

glProgramUniformMatrix2x3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix2x3dv program location count transpose value

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

The length of value should be count*6.

glProgramUniformMatrix2x3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix2x3fv program location count transpose value

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

The length of value should be count*6.

glProgramUniformMatrix2x4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix2x4dv program location count transpose value

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

The length of value should be count*8.

glProgramUniformMatrix2x4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix2x4fv program location count transpose value

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

The length of value should be count*8.

glProgramUniformMatrix3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix3dv program location count transpose value

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

The length of value should be count*9.

glProgramUniformMatrix3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix3fv program location count transpose value

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

The length of value should be count*9.

glProgramUniformMatrix3x2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix3x2dv program location count transpose value

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

The length of value should be count*6.

glProgramUniformMatrix3x2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix3x2fv program location count transpose value

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

The length of value should be count*6.

glProgramUniformMatrix3x4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix3x4dv program location count transpose value

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

The length of value should be count*12.

glProgramUniformMatrix3x4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix3x4fv program location count transpose value

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

The length of value should be count*12.

glProgramUniformMatrix4dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix4dv program location count transpose value

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

The length of value should be count*16.

glProgramUniformMatrix4fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix4fv program location count transpose value

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

The length of value should be count*16.

glProgramUniformMatrix4x2dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix4x2dv program location count transpose value

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

The length of value should be count*8.

glProgramUniformMatrix4x2fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix4x2fv program location count transpose value

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

The length of value should be count*8.

glProgramUniformMatrix4x3dv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> m () Source #

Usage: glProgramUniformMatrix4x3dv program location count transpose value

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

The length of value should be count*12.

glProgramUniformMatrix4x3fv :: MonadIO m => GLuint -> GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #

Usage: glProgramUniformMatrix4x3fv program location count transpose value

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

The length of value should be count*12.

glScissorArrayv :: MonadIO m => GLuint -> GLsizei -> Ptr GLint -> m () Source #

Usage: glScissorArrayv first count v

The length of v should be COMPSIZE(count).

glScissorIndexedv :: MonadIO m => GLuint -> Ptr GLint -> m () Source #

Usage: glScissorIndexedv index v

The length of v should be 4.

glShaderBinary :: MonadIO m => GLsizei -> Ptr GLuint -> GLenum -> Ptr () -> GLsizei -> m () Source #

Usage: glShaderBinary count shaders binaryformat binary length

The length of shaders should be count.

The length of binary should be length.

Manual page: https://www.opengl.org/sdk/docs/man/html/glShaderBinary.xhtml

glVertexAttribL1dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttribL1dv index v

The length of v should be 1.

glVertexAttribL2dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttribL2dv index v

The length of v should be 2.

glVertexAttribL3dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttribL3dv index v

The length of v should be 3.

glVertexAttribL4dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttribL4dv index v

The length of v should be 4.

glVertexAttribLPointer :: MonadIO m => GLuint -> GLint -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glVertexAttribLPointer index size type stride pointer

The length of pointer should be size.

glViewportArrayv :: MonadIO m => GLuint -> GLsizei -> Ptr GLfloat -> m () Source #

Usage: glViewportArrayv first count v

The length of v should be COMPSIZE(count).

glViewportIndexedf :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glViewportIndexedf index x y w h

glViewportIndexedfv :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #

Usage: glViewportIndexedfv index v

The length of v should be 4.

pattern GL_ACTIVE_PROGRAM :: forall a. (Num a, Eq a) => a Source #

pattern GL_ALL_SHADER_BITS :: forall a. (Num a, Eq a) => a Source #

pattern GL_FIXED :: forall a. (Num a, Eq a) => a Source #

pattern GL_FRAGMENT_SHADER_BIT :: forall a. (Num a, Eq a) => a Source #

pattern GL_GEOMETRY_SHADER_BIT :: forall a. (Num a, Eq a) => a Source #

pattern GL_HIGH_FLOAT :: forall a. (Num a, Eq a) => a Source #

pattern GL_HIGH_INT :: forall a. (Num a, Eq a) => a Source #

pattern GL_IMPLEMENTATION_COLOR_READ_FORMAT :: forall a. (Num a, Eq a) => a Source #

pattern GL_IMPLEMENTATION_COLOR_READ_TYPE :: forall a. (Num a, Eq a) => a Source #

pattern GL_LAYER_PROVOKING_VERTEX :: forall a. (Num a, Eq a) => a Source #

pattern GL_LOW_FLOAT :: forall a. (Num a, Eq a) => a Source #

pattern GL_LOW_INT :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_FRAGMENT_UNIFORM_VECTORS :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_VARYING_VECTORS :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_VERTEX_UNIFORM_VECTORS :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_VIEWPORTS :: forall a. (Num a, Eq a) => a Source #

pattern GL_MEDIUM_FLOAT :: forall a. (Num a, Eq a) => a Source #

pattern GL_MEDIUM_INT :: forall a. (Num a, Eq a) => a Source #

pattern GL_NUM_PROGRAM_BINARY_FORMATS :: forall a. (Num a, Eq a) => a Source #

pattern GL_NUM_SHADER_BINARY_FORMATS :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_BINARY_FORMATS :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_BINARY_LENGTH :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_BINARY_RETRIEVABLE_HINT :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_PIPELINE_BINDING :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_SEPARABLE :: forall a. (Num a, Eq a) => a Source #

pattern GL_RGB565 :: forall a. (Num a, Eq a) => a Source #

pattern GL_SHADER_BINARY_FORMATS :: forall a. (Num a, Eq a) => a Source #

pattern GL_SHADER_COMPILER :: forall a. (Num a, Eq a) => a Source #

pattern GL_TESS_CONTROL_SHADER_BIT :: forall a. (Num a, Eq a) => a Source #

pattern GL_TESS_EVALUATION_SHADER_BIT :: forall a. (Num a, Eq a) => a Source #

pattern GL_UNDEFINED_VERTEX :: forall a. (Num a, Eq a) => a Source #

pattern GL_VERTEX_SHADER_BIT :: forall a. (Num a, Eq a) => a Source #

pattern GL_VIEWPORT_BOUNDS_RANGE :: forall a. (Num a, Eq a) => a Source #

pattern GL_VIEWPORT_INDEX_PROVOKING_VERTEX :: forall a. (Num a, Eq a) => a Source #

pattern GL_VIEWPORT_SUBPIXEL_BITS :: forall a. (Num a, Eq a) => a Source #