Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Graphics.GL.Standard15
- glAttachShader :: MonadIO m => GLuint -> GLuint -> m ()
- glBindAttribLocation :: MonadIO m => GLuint -> GLuint -> Ptr GLchar -> m ()
- glBlendEquationSeparate :: MonadIO m => GLenum -> GLenum -> m ()
- glCompileShader :: MonadIO m => GLuint -> m ()
- glCreateProgram :: MonadIO m => m GLuint
- glCreateShader :: MonadIO m => GLenum -> m GLuint
- glDeleteProgram :: MonadIO m => GLuint -> m ()
- glDeleteShader :: MonadIO m => GLuint -> m ()
- glDetachShader :: MonadIO m => GLuint -> GLuint -> m ()
- glDisableVertexAttribArray :: MonadIO m => GLuint -> m ()
- glDrawBuffers :: MonadIO m => GLsizei -> Ptr GLenum -> m ()
- glEnableVertexAttribArray :: MonadIO m => GLuint -> m ()
- glGetActiveAttrib :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> m ()
- glGetActiveUniform :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> m ()
- glGetAttachedShaders :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLuint -> m ()
- glGetAttribLocation :: MonadIO m => GLuint -> Ptr GLchar -> m GLint
- glGetProgramInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetProgramiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glGetShaderInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetShaderiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glGetUniformLocation :: MonadIO m => GLuint -> Ptr GLchar -> m GLint
- glGetUniformfv :: MonadIO m => GLuint -> GLint -> Ptr GLfloat -> m ()
- glGetUniformiv :: MonadIO m => GLuint -> GLint -> Ptr GLint -> m ()
- glGetVertexAttribPointerv :: MonadIO m => GLuint -> GLenum -> Ptr (Ptr ()) -> m ()
- glGetVertexAttribdv :: MonadIO m => GLuint -> GLenum -> Ptr GLdouble -> m ()
- glGetVertexAttribfv :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m ()
- glGetVertexAttribiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glIsProgram :: MonadIO m => GLuint -> m GLboolean
- glIsShader :: MonadIO m => GLuint -> m GLboolean
- glLinkProgram :: MonadIO m => GLuint -> m ()
- glShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> m ()
- glStencilFuncSeparate :: MonadIO m => GLenum -> GLenum -> GLint -> GLuint -> m ()
- glStencilMaskSeparate :: MonadIO m => GLenum -> GLuint -> m ()
- glStencilOpSeparate :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
- glUniform1f :: MonadIO m => GLint -> GLfloat -> m ()
- glUniform1fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform1i :: MonadIO m => GLint -> GLint -> m ()
- glUniform1iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform2f :: MonadIO m => GLint -> GLfloat -> GLfloat -> m ()
- glUniform2fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform2i :: MonadIO m => GLint -> GLint -> GLint -> m ()
- glUniform2iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform3f :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glUniform3fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform3i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m ()
- glUniform3iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniform4f :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glUniform4fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m ()
- glUniform4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> m ()
- glUniform4iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m ()
- glUniformMatrix2fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUniformMatrix3fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUniformMatrix4fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m ()
- glUseProgram :: MonadIO m => GLuint -> m ()
- glValidateProgram :: MonadIO m => GLuint -> m ()
- glVertexAttrib1d :: MonadIO m => GLuint -> GLdouble -> m ()
- glVertexAttrib1dv :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib1f :: MonadIO m => GLuint -> GLfloat -> m ()
- glVertexAttrib1fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib1s :: MonadIO m => GLuint -> GLshort -> m ()
- glVertexAttrib1sv :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib2d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> m ()
- glVertexAttrib2dv :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib2f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m ()
- glVertexAttrib2fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib2s :: MonadIO m => GLuint -> GLshort -> GLshort -> m ()
- glVertexAttrib2sv :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib3d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> m ()
- glVertexAttrib3dv :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib3f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib3fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib3s :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> m ()
- glVertexAttrib3sv :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4Nbv :: MonadIO m => GLuint -> Ptr GLbyte -> m ()
- glVertexAttrib4Niv :: MonadIO m => GLuint -> Ptr GLint -> m ()
- glVertexAttrib4Nsv :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4Nub :: MonadIO m => GLuint -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> m ()
- glVertexAttrib4Nubv :: MonadIO m => GLuint -> Ptr GLubyte -> m ()
- glVertexAttrib4Nuiv :: MonadIO m => GLuint -> Ptr GLuint -> m ()
- glVertexAttrib4Nusv :: MonadIO m => GLuint -> Ptr GLushort -> m ()
- glVertexAttrib4bv :: MonadIO m => GLuint -> Ptr GLbyte -> m ()
- glVertexAttrib4d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m ()
- glVertexAttrib4dv :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib4f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib4fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib4iv :: MonadIO m => GLuint -> Ptr GLint -> m ()
- glVertexAttrib4s :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> GLshort -> m ()
- glVertexAttrib4sv :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4ubv :: MonadIO m => GLuint -> Ptr GLubyte -> m ()
- glVertexAttrib4uiv :: MonadIO m => GLuint -> Ptr GLuint -> m ()
- glVertexAttrib4usv :: MonadIO m => GLuint -> Ptr GLushort -> m ()
- glVertexAttribPointer :: MonadIO m => GLuint -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr () -> m ()
- pattern GL_ACTIVE_ATTRIBUTES :: (Eq a, Num a) => a
- pattern GL_ACTIVE_ATTRIBUTE_MAX_LENGTH :: (Eq a, Num a) => a
- pattern GL_ACTIVE_UNIFORMS :: (Eq a, Num a) => a
- pattern GL_ACTIVE_UNIFORM_MAX_LENGTH :: (Eq a, Num a) => a
- pattern GL_ATTACHED_SHADERS :: (Eq a, Num a) => a
- pattern GL_BLEND_EQUATION_ALPHA :: (Eq a, Num a) => a
- pattern GL_BLEND_EQUATION_RGB :: (Eq a, Num a) => a
- pattern GL_BOOL :: (Eq a, Num a) => a
- pattern GL_BOOL_VEC2 :: (Eq a, Num a) => a
- pattern GL_BOOL_VEC3 :: (Eq a, Num a) => a
- pattern GL_BOOL_VEC4 :: (Eq a, Num a) => a
- pattern GL_COMPILE_STATUS :: (Eq a, Num a) => a
- pattern GL_COORD_REPLACE :: (Eq a, Num a) => a
- pattern GL_CURRENT_PROGRAM :: (Eq a, Num a) => a
- pattern GL_CURRENT_VERTEX_ATTRIB :: (Eq a, Num a) => a
- pattern GL_DELETE_STATUS :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER0 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER1 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER10 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER11 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER12 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER13 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER14 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER15 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER2 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER3 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER4 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER5 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER6 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER7 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER8 :: (Eq a, Num a) => a
- pattern GL_DRAW_BUFFER9 :: (Eq a, Num a) => a
- pattern GL_FLOAT_MAT2 :: (Eq a, Num a) => a
- pattern GL_FLOAT_MAT3 :: (Eq a, Num a) => a
- pattern GL_FLOAT_MAT4 :: (Eq a, Num a) => a
- pattern GL_FLOAT_VEC2 :: (Eq a, Num a) => a
- pattern GL_FLOAT_VEC3 :: (Eq a, Num a) => a
- pattern GL_FLOAT_VEC4 :: (Eq a, Num a) => a
- pattern GL_FRAGMENT_SHADER :: (Eq a, Num a) => a
- pattern GL_FRAGMENT_SHADER_DERIVATIVE_HINT :: (Eq a, Num a) => a
- pattern GL_INFO_LOG_LENGTH :: (Eq a, Num a) => a
- pattern GL_INT_VEC2 :: (Eq a, Num a) => a
- pattern GL_INT_VEC3 :: (Eq a, Num a) => a
- pattern GL_INT_VEC4 :: (Eq a, Num a) => a
- pattern GL_LINK_STATUS :: (Eq a, Num a) => a
- pattern GL_LOWER_LEFT :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a
- pattern GL_MAX_DRAW_BUFFERS :: (Eq a, Num a) => a
- pattern GL_MAX_FRAGMENT_UNIFORM_COMPONENTS :: (Eq a, Num a) => a
- pattern GL_MAX_TEXTURE_COORDS :: (Eq a, Num a) => a
- pattern GL_MAX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a
- pattern GL_MAX_VARYING_FLOATS :: (Eq a, Num a) => a
- pattern GL_MAX_VERTEX_ATTRIBS :: (Eq a, Num a) => a
- pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a
- pattern GL_MAX_VERTEX_UNIFORM_COMPONENTS :: (Eq a, Num a) => a
- pattern GL_POINT_SPRITE :: (Eq a, Num a) => a
- pattern GL_POINT_SPRITE_COORD_ORIGIN :: (Eq a, Num a) => a
- pattern GL_SAMPLER_1D :: (Eq a, Num a) => a
- pattern GL_SAMPLER_1D_SHADOW :: (Eq a, Num a) => a
- pattern GL_SAMPLER_2D :: (Eq a, Num a) => a
- pattern GL_SAMPLER_2D_SHADOW :: (Eq a, Num a) => a
- pattern GL_SAMPLER_3D :: (Eq a, Num a) => a
- pattern GL_SAMPLER_CUBE :: (Eq a, Num a) => a
- pattern GL_SHADER_SOURCE_LENGTH :: (Eq a, Num a) => a
- pattern GL_SHADER_TYPE :: (Eq a, Num a) => a
- pattern GL_SHADING_LANGUAGE_VERSION :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_FAIL :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_FUNC :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_PASS_DEPTH_FAIL :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_PASS_DEPTH_PASS :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_REF :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_VALUE_MASK :: (Eq a, Num a) => a
- pattern GL_STENCIL_BACK_WRITEMASK :: (Eq a, Num a) => a
- pattern GL_UPPER_LEFT :: (Eq a, Num a) => a
- pattern GL_VALIDATE_STATUS :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_ENABLED :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_NORMALIZED :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_POINTER :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_SIZE :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_STRIDE :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_TYPE :: (Eq a, Num a) => a
- pattern GL_VERTEX_PROGRAM_POINT_SIZE :: (Eq a, Num a) => a
- pattern GL_VERTEX_PROGRAM_TWO_SIDE :: (Eq a, Num a) => a
- pattern GL_VERTEX_SHADER :: (Eq a, Num a) => a
Graphics.GL.Standard20
module Graphics.GL.Standard15
glAttachShader :: MonadIO m => GLuint -> GLuint -> m () Source #
Usage: glAttachShader
program shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glAttachShader.xhtml
glBindAttribLocation :: MonadIO m => GLuint -> GLuint -> Ptr GLchar -> m () Source #
Usage: glBindAttribLocation
program index name
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindAttribLocation.xhtml
glBlendEquationSeparate :: MonadIO m => GLenum -> GLenum -> m () Source #
Usage: glBlendEquationSeparate
modeRGB modeAlpha
The parameter modeRGB
is a BlendEquationModeEXT
, one of: GL_ALPHA_MAX_SGIX
, GL_ALPHA_MIN_SGIX
, GL_FUNC_ADD_EXT
, GL_FUNC_REVERSE_SUBTRACT_EXT
, GL_FUNC_SUBTRACT_EXT
, GL_LOGIC_OP
, GL_MAX_EXT
, GL_MIN_EXT
.
The parameter modeAlpha
is a BlendEquationModeEXT
, one of: GL_ALPHA_MAX_SGIX
, GL_ALPHA_MIN_SGIX
, GL_FUNC_ADD_EXT
, GL_FUNC_REVERSE_SUBTRACT_EXT
, GL_FUNC_SUBTRACT_EXT
, GL_LOGIC_OP
, GL_MAX_EXT
, GL_MIN_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendEquationSeparate.xhtml
glCompileShader :: MonadIO m => GLuint -> m () Source #
Usage: glCompileShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glCompileShader.xhtml
glCreateProgram :: MonadIO m => m GLuint Source #
Usage: glCreateProgram
Manual page: https://www.opengl.org/sdk/docs/man/html/glCreateProgram.xhtml
glCreateShader :: MonadIO m => GLenum -> m GLuint Source #
Usage: glCreateShader
type
Manual page: https://www.opengl.org/sdk/docs/man/html/glCreateShader.xhtml
glDeleteProgram :: MonadIO m => GLuint -> m () Source #
Usage: glDeleteProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteProgram.xhtml
glDeleteShader :: MonadIO m => GLuint -> m () Source #
Usage: glDeleteShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteShader.xhtml
glDetachShader :: MonadIO m => GLuint -> GLuint -> m () Source #
Usage: glDetachShader
program shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glDetachShader.xhtml
glDisableVertexAttribArray :: MonadIO m => GLuint -> m () Source #
Usage: glDisableVertexAttribArray
index
glDrawBuffers :: MonadIO m => GLsizei -> Ptr GLenum -> m () Source #
Usage: glDrawBuffers
n bufs
The parameter bufs
is a DrawBufferModeATI
.
The length of bufs
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawBuffers.xhtml
glEnableVertexAttribArray :: MonadIO m => GLuint -> m () Source #
Usage: glEnableVertexAttribArray
index
Manual page: https://www.opengl.org/sdk/docs/man/html/glEnableVertexAttribArray.xhtml
glGetActiveAttrib :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> m () Source #
Usage: glGetActiveAttrib
program index bufSize length size type name
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 bufSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveAttrib.xhtml
glGetActiveUniform :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLchar -> m () Source #
Usage: glGetActiveUniform
program index bufSize length size type name
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 bufSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveUniform.xhtml
glGetAttachedShaders :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLuint -> m () Source #
Usage: glGetAttachedShaders
program maxCount count shaders
The length of count
should be 1
.
The length of shaders
should be maxCount
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetAttachedShaders.xhtml
glGetAttribLocation :: MonadIO m => GLuint -> Ptr GLchar -> m GLint Source #
Usage: glGetAttribLocation
program name
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetAttribLocation.xhtml
glGetProgramInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetProgramInfoLog
program 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/glGetProgramInfoLog.xhtml
glGetProgramiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetProgramiv
program pname params
The length of params
should be COMPSIZE(pname)
.
glGetShaderInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetShaderInfoLog
shader 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/glGetShaderInfoLog.xhtml
glGetShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetShaderSource
shader bufSize length source
The length of length
should be 1
.
The length of source
should be bufSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetShaderSource.xhtml
glGetShaderiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetShaderiv
shader pname params
The length of params
should be COMPSIZE(pname)
.
glGetUniformLocation :: MonadIO m => GLuint -> Ptr GLchar -> m GLint Source #
Usage: glGetUniformLocation
program name
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetUniformLocation.xhtml
glGetUniformfv :: MonadIO m => GLuint -> GLint -> Ptr GLfloat -> m () Source #
Usage: glGetUniformfv
program location params
The length of params
should be COMPSIZE(program,location)
.
glGetUniformiv :: MonadIO m => GLuint -> GLint -> Ptr GLint -> m () Source #
Usage: glGetUniformiv
program location params
The length of params
should be COMPSIZE(program,location)
.
glGetVertexAttribPointerv :: MonadIO m => GLuint -> GLenum -> Ptr (Ptr ()) -> m () Source #
Usage: glGetVertexAttribPointerv
index pname pointer
The parameter pname
is a VertexAttribPointerPropertyARB
.
The length of pointer
should be 1
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetVertexAttribPointerv.xhtml
glGetVertexAttribdv :: MonadIO m => GLuint -> GLenum -> Ptr GLdouble -> m () Source #
Usage: glGetVertexAttribdv
index pname params
The parameter pname
is a VertexAttribPropertyARB
.
The length of params
should be 4
.
glGetVertexAttribfv :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #
Usage: glGetVertexAttribfv
index pname params
The parameter pname
is a VertexAttribPropertyARB
.
The length of params
should be 4
.
glGetVertexAttribiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetVertexAttribiv
index pname params
The parameter pname
is a VertexAttribPropertyARB
.
The length of params
should be 4
.
glIsProgram :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsProgram.xhtml
glIsShader :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsShader.xhtml
glLinkProgram :: MonadIO m => GLuint -> m () Source #
Usage: glLinkProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glLinkProgram.xhtml
glShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> m () Source #
Usage: glShaderSource
shader count string length
The length of string
should be count
.
The length of length
should be count
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glShaderSource.xhtml
glStencilFuncSeparate :: MonadIO m => GLenum -> GLenum -> GLint -> GLuint -> m () Source #
Usage: glStencilFuncSeparate
face func ref mask
The parameter face
is a StencilFaceDirection
.
The parameter func
is a StencilFunction
, one of: GL_ALWAYS
, GL_EQUAL
, GL_GEQUAL
, GL_GREATER
, GL_LEQUAL
, GL_LESS
, GL_NEVER
, GL_NOTEQUAL
.
The parameter ref
is a StencilValue
.
The parameter mask
is a MaskedStencilValue
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glStencilFuncSeparate.xhtml
glStencilMaskSeparate :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glStencilMaskSeparate
face mask
The parameter face
is a StencilFaceDirection
.
The parameter mask
is a MaskedStencilValue
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glStencilMaskSeparate.xhtml
glStencilOpSeparate :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m () Source #
Usage: glStencilOpSeparate
face sfail dpfail dppass
The parameter face
is a StencilFaceDirection
.
The parameter sfail
is a StencilOp
, one of: GL_DECR
, GL_INCR
, GL_INVERT
, GL_KEEP
, GL_REPLACE
, GL_ZERO
.
The parameter dpfail
is a StencilOp
, one of: GL_DECR
, GL_INCR
, GL_INVERT
, GL_KEEP
, GL_REPLACE
, GL_ZERO
.
The parameter dppass
is a StencilOp
, one of: GL_DECR
, GL_INCR
, GL_INVERT
, GL_KEEP
, GL_REPLACE
, GL_ZERO
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glStencilOpSeparate.xhtml
glUniform1f :: MonadIO m => GLint -> GLfloat -> m () Source #
Usage: glUniform1f
location v0
glUniform1fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source #
Usage: glUniform1fv
location count value
The length of value
should be count*1
.
glUniform1i :: MonadIO m => GLint -> GLint -> m () Source #
Usage: glUniform1i
location v0
glUniform1iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source #
Usage: glUniform1iv
location count value
The length of value
should be count*1
.
glUniform2f :: MonadIO m => GLint -> GLfloat -> GLfloat -> m () Source #
Usage: glUniform2f
location v0 v1
glUniform2fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source #
Usage: glUniform2fv
location count value
The length of value
should be count*2
.
glUniform2i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #
Usage: glUniform2i
location v0 v1
glUniform2iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source #
Usage: glUniform2iv
location count value
The length of value
should be count*2
.
glUniform3f :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glUniform3f
location v0 v1 v2
glUniform3fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source #
Usage: glUniform3fv
location count value
The length of value
should be count*3
.
glUniform3i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #
Usage: glUniform3i
location v0 v1 v2
glUniform3iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source #
Usage: glUniform3iv
location count value
The length of value
should be count*3
.
glUniform4f :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glUniform4f
location v0 v1 v2 v3
glUniform4fv :: MonadIO m => GLint -> GLsizei -> Ptr GLfloat -> m () Source #
Usage: glUniform4fv
location count value
The length of value
should be count*4
.
glUniform4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> GLint -> m () Source #
Usage: glUniform4i
location v0 v1 v2 v3
glUniform4iv :: MonadIO m => GLint -> GLsizei -> Ptr GLint -> m () Source #
Usage: glUniform4iv
location count value
The length of value
should be count*4
.
glUniformMatrix2fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #
Usage: glUniformMatrix2fv
location count transpose value
The parameter transpose
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The length of value
should be count*4
.
glUniformMatrix3fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #
Usage: glUniformMatrix3fv
location count transpose value
The parameter transpose
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The length of value
should be count*9
.
glUniformMatrix4fv :: MonadIO m => GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> m () Source #
Usage: glUniformMatrix4fv
location count transpose value
The parameter transpose
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The length of value
should be count*16
.
glUseProgram :: MonadIO m => GLuint -> m () Source #
Usage: glUseProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glUseProgram.xhtml
glValidateProgram :: MonadIO m => GLuint -> m () Source #
Usage: glValidateProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glValidateProgram.xhtml
glVertexAttrib1d :: MonadIO m => GLuint -> GLdouble -> m () Source #
Usage: glVertexAttrib1d
index x
The vector equivalent of this command is glVertexAttrib1dv
.
glVertexAttrib1dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #
Usage: glVertexAttrib1dv
index v
The length of v
should be 1
.
glVertexAttrib1f :: MonadIO m => GLuint -> GLfloat -> m () Source #
Usage: glVertexAttrib1f
index x
The vector equivalent of this command is glVertexAttrib1fv
.
glVertexAttrib1fv :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #
Usage: glVertexAttrib1fv
index v
The length of v
should be 1
.
glVertexAttrib1s :: MonadIO m => GLuint -> GLshort -> m () Source #
Usage: glVertexAttrib1s
index x
The vector equivalent of this command is glVertexAttrib1sv
.
glVertexAttrib1sv :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #
Usage: glVertexAttrib1sv
index v
The length of v
should be 1
.
glVertexAttrib2d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> m () Source #
Usage: glVertexAttrib2d
index x y
The vector equivalent of this command is glVertexAttrib2dv
.
glVertexAttrib2dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #
Usage: glVertexAttrib2dv
index v
The length of v
should be 2
.
glVertexAttrib2f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m () Source #
Usage: glVertexAttrib2f
index x y
The vector equivalent of this command is glVertexAttrib2fv
.
glVertexAttrib2fv :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #
Usage: glVertexAttrib2fv
index v
The length of v
should be 2
.
glVertexAttrib2s :: MonadIO m => GLuint -> GLshort -> GLshort -> m () Source #
Usage: glVertexAttrib2s
index x y
The vector equivalent of this command is glVertexAttrib2sv
.
glVertexAttrib2sv :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #
Usage: glVertexAttrib2sv
index v
The length of v
should be 2
.
glVertexAttrib3d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> m () Source #
Usage: glVertexAttrib3d
index x y z
The vector equivalent of this command is glVertexAttrib3dv
.
glVertexAttrib3dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #
Usage: glVertexAttrib3dv
index v
The length of v
should be 3
.
glVertexAttrib3f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glVertexAttrib3f
index x y z
The vector equivalent of this command is glVertexAttrib3fv
.
glVertexAttrib3fv :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #
Usage: glVertexAttrib3fv
index v
The length of v
should be 3
.
glVertexAttrib3s :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> m () Source #
Usage: glVertexAttrib3s
index x y z
The vector equivalent of this command is glVertexAttrib3sv
.
glVertexAttrib3sv :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #
Usage: glVertexAttrib3sv
index v
The length of v
should be 3
.
glVertexAttrib4Nbv :: MonadIO m => GLuint -> Ptr GLbyte -> m () Source #
Usage: glVertexAttrib4Nbv
index v
The length of v
should be 4
.
glVertexAttrib4Niv :: MonadIO m => GLuint -> Ptr GLint -> m () Source #
Usage: glVertexAttrib4Niv
index v
The length of v
should be 4
.
glVertexAttrib4Nsv :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #
Usage: glVertexAttrib4Nsv
index v
The length of v
should be 4
.
glVertexAttrib4Nub :: MonadIO m => GLuint -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> m () Source #
Usage: glVertexAttrib4Nub
index x y z w
glVertexAttrib4Nubv :: MonadIO m => GLuint -> Ptr GLubyte -> m () Source #
Usage: glVertexAttrib4Nubv
index v
The length of v
should be 4
.
glVertexAttrib4Nuiv :: MonadIO m => GLuint -> Ptr GLuint -> m () Source #
Usage: glVertexAttrib4Nuiv
index v
The length of v
should be 4
.
glVertexAttrib4Nusv :: MonadIO m => GLuint -> Ptr GLushort -> m () Source #
Usage: glVertexAttrib4Nusv
index v
The length of v
should be 4
.
glVertexAttrib4bv :: MonadIO m => GLuint -> Ptr GLbyte -> m () Source #
Usage: glVertexAttrib4bv
index v
The length of v
should be 4
.
glVertexAttrib4d :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #
Usage: glVertexAttrib4d
index x y z w
The vector equivalent of this command is glVertexAttrib4dv
.
glVertexAttrib4dv :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #
Usage: glVertexAttrib4dv
index v
The length of v
should be 4
.
glVertexAttrib4f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glVertexAttrib4f
index x y z w
The vector equivalent of this command is glVertexAttrib4fv
.
glVertexAttrib4fv :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #
Usage: glVertexAttrib4fv
index v
The length of v
should be 4
.
glVertexAttrib4iv :: MonadIO m => GLuint -> Ptr GLint -> m () Source #
Usage: glVertexAttrib4iv
index v
The length of v
should be 4
.
glVertexAttrib4s :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> GLshort -> m () Source #
Usage: glVertexAttrib4s
index x y z w
The vector equivalent of this command is glVertexAttrib4sv
.
glVertexAttrib4sv :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #
Usage: glVertexAttrib4sv
index v
The length of v
should be 4
.
glVertexAttrib4ubv :: MonadIO m => GLuint -> Ptr GLubyte -> m () Source #
Usage: glVertexAttrib4ubv
index v
The length of v
should be 4
.
glVertexAttrib4uiv :: MonadIO m => GLuint -> Ptr GLuint -> m () Source #
Usage: glVertexAttrib4uiv
index v
The length of v
should be 4
.
glVertexAttrib4usv :: MonadIO m => GLuint -> Ptr GLushort -> m () Source #
Usage: glVertexAttrib4usv
index v
The length of v
should be 4
.
glVertexAttribPointer :: MonadIO m => GLuint -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr () -> m () Source #
Usage: glVertexAttribPointer
index size type normalized stride pointer
The parameter type
is a VertexAttribPointerType
.
The parameter normalized
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The length of pointer
should be COMPSIZE(size,type,stride)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glVertexAttribPointer.xhtml
pattern GL_ACTIVE_ATTRIBUTES :: (Eq a, Num a) => a Source #
pattern GL_ACTIVE_ATTRIBUTE_MAX_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_ACTIVE_UNIFORMS :: (Eq a, Num a) => a Source #
pattern GL_ACTIVE_UNIFORM_MAX_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_ATTACHED_SHADERS :: (Eq a, Num a) => a Source #
pattern GL_BLEND_EQUATION_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_BLEND_EQUATION_RGB :: (Eq a, Num a) => a Source #
pattern GL_BOOL_VEC2 :: (Eq a, Num a) => a Source #
pattern GL_BOOL_VEC3 :: (Eq a, Num a) => a Source #
pattern GL_BOOL_VEC4 :: (Eq a, Num a) => a Source #
pattern GL_COMPILE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_COORD_REPLACE :: (Eq a, Num a) => a Source #
pattern GL_CURRENT_PROGRAM :: (Eq a, Num a) => a Source #
pattern GL_CURRENT_VERTEX_ATTRIB :: (Eq a, Num a) => a Source #
pattern GL_DELETE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER0 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER1 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER10 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER11 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER12 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER13 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER14 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER15 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER2 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER3 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER4 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER5 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER6 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER7 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER8 :: (Eq a, Num a) => a Source #
pattern GL_DRAW_BUFFER9 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_MAT2 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_MAT3 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_MAT4 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_VEC2 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_VEC3 :: (Eq a, Num a) => a Source #
pattern GL_FLOAT_VEC4 :: (Eq a, Num a) => a Source #
pattern GL_FRAGMENT_SHADER :: (Eq a, Num a) => a Source #
pattern GL_FRAGMENT_SHADER_DERIVATIVE_HINT :: (Eq a, Num a) => a Source #
pattern GL_INFO_LOG_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_INT_VEC2 :: (Eq a, Num a) => a Source #
pattern GL_INT_VEC3 :: (Eq a, Num a) => a Source #
pattern GL_INT_VEC4 :: (Eq a, Num a) => a Source #
pattern GL_LINK_STATUS :: (Eq a, Num a) => a Source #
pattern GL_LOWER_LEFT :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a Source #
pattern GL_MAX_DRAW_BUFFERS :: (Eq a, Num a) => a Source #
pattern GL_MAX_FRAGMENT_UNIFORM_COMPONENTS :: (Eq a, Num a) => a Source #
pattern GL_MAX_TEXTURE_COORDS :: (Eq a, Num a) => a Source #
pattern GL_MAX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VARYING_FLOATS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VERTEX_ATTRIBS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VERTEX_UNIFORM_COMPONENTS :: (Eq a, Num a) => a Source #
pattern GL_POINT_SPRITE :: (Eq a, Num a) => a Source #
pattern GL_POINT_SPRITE_COORD_ORIGIN :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_1D :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_1D_SHADOW :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_2D :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_2D_SHADOW :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_3D :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_CUBE :: (Eq a, Num a) => a Source #
pattern GL_SHADER_SOURCE_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_SHADER_TYPE :: (Eq a, Num a) => a Source #
pattern GL_SHADING_LANGUAGE_VERSION :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_FAIL :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_FUNC :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_PASS_DEPTH_FAIL :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_PASS_DEPTH_PASS :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_REF :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_VALUE_MASK :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BACK_WRITEMASK :: (Eq a, Num a) => a Source #
pattern GL_UPPER_LEFT :: (Eq a, Num a) => a Source #
pattern GL_VALIDATE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_ENABLED :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_NORMALIZED :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_POINTER :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_SIZE :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_STRIDE :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_TYPE :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_PROGRAM_POINT_SIZE :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_PROGRAM_TWO_SIDE :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_SHADER :: (Eq a, Num a) => a Source #