gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Core40

Synopsis

Graphics.GL.Core40

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

Usage: glBlendEquationSeparatei buf modeRGB modeAlpha

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

Usage: glBlendEquationi buf mode

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

Usage: glBlendFuncSeparatei buf srcRGB dstRGB srcAlpha dstAlpha

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

Usage: glBlendFunci buf src dst

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

Usage: glEndQueryIndexed target index

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

Usage: glGetActiveSubroutineName program shadertype index bufsize length name

The length of length should be 1.

The length of name should be bufsize.

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

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

Usage: glGetActiveSubroutineUniformName program shadertype index bufsize length name

The length of length should be 1.

The length of name should be bufsize.

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

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

Usage: glGetActiveSubroutineUniformiv program shadertype index pname values

The length of values should be COMPSIZE(pname).

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

Usage: glGetProgramStageiv program shadertype pname values

The length of values should be 1.

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

Usage: glGetQueryIndexediv target index pname params

The length of params should be COMPSIZE(pname).

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

Usage: glGetUniformSubroutineuiv shadertype location params

The length of params should be 1.

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

Usage: glGetUniformdv program location params

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

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

Usage: glPatchParameterfv pname values

The length of values should be COMPSIZE(pname).

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

Usage: glPatchParameteri pname value

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

Usage: glUniform1d location x

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

Usage: glUniform1dv location count value

The length of value should be count*1.

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

Usage: glUniform2d location x y

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

Usage: glUniform2dv location count value

The length of value should be count*2.

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

Usage: glUniform3d location x y z

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

Usage: glUniform3dv location count value

The length of value should be count*3.

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

Usage: glUniform4d location x y z w

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

Usage: glUniform4dv location count value

The length of value should be count*4.

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

Usage: glUniformMatrix2dv location count transpose value

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

The length of value should be count*4.

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

Usage: glUniformMatrix2x3dv location count transpose value

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

The length of value should be count*6.

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

Usage: glUniformMatrix2x4dv location count transpose value

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

The length of value should be count*8.

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

Usage: glUniformMatrix3dv location count transpose value

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

The length of value should be count*9.

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

Usage: glUniformMatrix3x2dv location count transpose value

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

The length of value should be count*6.

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

Usage: glUniformMatrix3x4dv location count transpose value

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

The length of value should be count*12.

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

Usage: glUniformMatrix4dv location count transpose value

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

The length of value should be count*16.

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

Usage: glUniformMatrix4x2dv location count transpose value

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

The length of value should be count*8.

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

Usage: glUniformMatrix4x3dv location count transpose value

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

The length of value should be count*12.

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

Usage: glUniformSubroutinesuiv shadertype count indices

The length of indices should be count.

pattern GL_ACTIVE_SUBROUTINES :: (Eq a, Num a) => a Source #

pattern GL_COMPATIBLE_SUBROUTINES :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT2 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT2x3 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT2x4 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT3 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT3x2 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT3x4 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT4 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT4x2 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_MAT4x3 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_VEC2 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_VEC3 :: (Eq a, Num a) => a Source #

pattern GL_DOUBLE_VEC4 :: (Eq a, Num a) => a Source #

pattern GL_DRAW_INDIRECT_BUFFER :: (Eq a, Num a) => a Source #

pattern GL_FRACTIONAL_EVEN :: (Eq a, Num a) => a Source #

pattern GL_FRACTIONAL_ODD :: (Eq a, Num a) => a Source #

pattern GL_ISOLINES :: (Eq a, Num a) => a Source #

pattern GL_MAX_PATCH_VERTICES :: (Eq a, Num a) => a Source #

pattern GL_MAX_SUBROUTINES :: (Eq a, Num a) => a Source #

pattern GL_MAX_TESS_GEN_LEVEL :: (Eq a, Num a) => a Source #

pattern GL_MAX_TESS_PATCH_COMPONENTS :: (Eq a, Num a) => a Source #

pattern GL_MAX_VERTEX_STREAMS :: (Eq a, Num a) => a Source #

pattern GL_MIN_SAMPLE_SHADING_VALUE :: (Eq a, Num a) => a Source #

pattern GL_PATCHES :: (Eq a, Num a) => a Source #

pattern GL_PATCH_DEFAULT_INNER_LEVEL :: (Eq a, Num a) => a Source #

pattern GL_PATCH_DEFAULT_OUTER_LEVEL :: (Eq a, Num a) => a Source #

pattern GL_PATCH_VERTICES :: (Eq a, Num a) => a Source #

pattern GL_QUADS :: (Eq a, Num a) => a Source #

pattern GL_SAMPLER_CUBE_MAP_ARRAY :: (Eq a, Num a) => a Source #

pattern GL_SAMPLE_SHADING :: (Eq a, Num a) => a Source #

pattern GL_TESS_CONTROL_SHADER :: (Eq a, Num a) => a Source #

pattern GL_TESS_EVALUATION_SHADER :: (Eq a, Num a) => a Source #

pattern GL_TESS_GEN_MODE :: (Eq a, Num a) => a Source #

pattern GL_TESS_GEN_POINT_MODE :: (Eq a, Num a) => a Source #

pattern GL_TESS_GEN_SPACING :: (Eq a, Num a) => a Source #

pattern GL_TESS_GEN_VERTEX_ORDER :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_CUBE_MAP_ARRAY :: (Eq a, Num a) => a Source #

pattern GL_TRANSFORM_FEEDBACK :: (Eq a, Num a) => a Source #