Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- glActiveTexture :: MonadIO m => GLenum -> m ()
- glAttachShader :: MonadIO m => GLuint -> GLuint -> m ()
- glBindAttribLocation :: MonadIO m => GLuint -> GLuint -> Ptr GLchar -> m ()
- glBindBuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBindFramebuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBindRenderbuffer :: MonadIO m => GLenum -> GLuint -> m ()
- glBindTexture :: MonadIO m => GLenum -> GLuint -> m ()
- glBlendColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glBlendEquation :: MonadIO m => GLenum -> m ()
- glBlendEquationSeparate :: MonadIO m => GLenum -> GLenum -> m ()
- glBlendFunc :: MonadIO m => GLenum -> GLenum -> m ()
- glBlendFuncSeparate :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
- glBufferData :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLenum -> m ()
- glBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m ()
- glCheckFramebufferStatus :: MonadIO m => GLenum -> m GLenum
- glClear :: MonadIO m => GLbitfield -> m ()
- glClearColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glClearDepthf :: MonadIO m => GLfloat -> m ()
- glClearStencil :: MonadIO m => GLint -> m ()
- glColorMask :: MonadIO m => GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
- glCompileShader :: MonadIO m => GLuint -> m ()
- glCompressedTexImage2D :: MonadIO m => GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLint -> GLsizei -> Ptr () -> m ()
- glCompressedTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m ()
- glCopyTexImage2D :: MonadIO m => GLenum -> GLint -> GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLint -> m ()
- glCopyTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m ()
- glCreateProgram :: MonadIO m => m GLuint
- glCreateShader :: MonadIO m => GLenum -> m GLuint
- glCullFace :: MonadIO m => GLenum -> m ()
- glDeleteBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDeleteFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDeleteProgram :: MonadIO m => GLuint -> m ()
- glDeleteRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDeleteShader :: MonadIO m => GLuint -> m ()
- glDeleteTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glDepthFunc :: MonadIO m => GLenum -> m ()
- glDepthMask :: MonadIO m => GLboolean -> m ()
- glDepthRangef :: MonadIO m => GLfloat -> GLfloat -> m ()
- glDetachShader :: MonadIO m => GLuint -> GLuint -> m ()
- glDisable :: MonadIO m => GLenum -> m ()
- glDisableVertexAttribArray :: MonadIO m => GLuint -> m ()
- glDrawArrays :: MonadIO m => GLenum -> GLint -> GLsizei -> m ()
- glDrawElements :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> m ()
- glEnable :: MonadIO m => GLenum -> m ()
- glEnableVertexAttribArray :: MonadIO m => GLuint -> m ()
- glFinish :: MonadIO m => m ()
- glFlush :: MonadIO m => m ()
- glFramebufferRenderbuffer :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> m ()
- glFramebufferTexture2D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m ()
- glFrontFace :: MonadIO m => GLenum -> m ()
- glGenBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m ()
- glGenerateMipmap :: MonadIO m => GLenum -> 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
- glGetBooleanv :: MonadIO m => GLenum -> Ptr GLboolean -> m ()
- glGetBufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glGetError :: MonadIO m => m GLenum
- glGetFloatv :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
- glGetFramebufferAttachmentParameteriv :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr GLint -> m ()
- glGetIntegerv :: MonadIO m => GLenum -> Ptr GLint -> m ()
- glGetProgramInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetProgramiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glGetRenderbufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glGetShaderInfoLog :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetShaderPrecisionFormat :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> Ptr GLint -> m ()
- glGetShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetShaderiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glGetString :: MonadIO m => GLenum -> m (Ptr GLubyte)
- glGetTexParameterfv :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m ()
- glGetTexParameteriv :: MonadIO m => GLenum -> 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 ()
- glGetVertexAttribfv :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m ()
- glGetVertexAttribiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glHint :: MonadIO m => GLenum -> GLenum -> m ()
- glIsBuffer :: MonadIO m => GLuint -> m GLboolean
- glIsEnabled :: MonadIO m => GLenum -> m GLboolean
- glIsFramebuffer :: MonadIO m => GLuint -> m GLboolean
- glIsProgram :: MonadIO m => GLuint -> m GLboolean
- glIsRenderbuffer :: MonadIO m => GLuint -> m GLboolean
- glIsShader :: MonadIO m => GLuint -> m GLboolean
- glIsTexture :: MonadIO m => GLuint -> m GLboolean
- glLineWidth :: MonadIO m => GLfloat -> m ()
- glLinkProgram :: MonadIO m => GLuint -> m ()
- glPixelStorei :: MonadIO m => GLenum -> GLint -> m ()
- glPolygonOffset :: MonadIO m => GLfloat -> GLfloat -> m ()
- glReadPixels :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m ()
- glReleaseShaderCompiler :: MonadIO m => m ()
- glRenderbufferStorage :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> m ()
- glSampleCoverage :: MonadIO m => GLfloat -> GLboolean -> m ()
- glScissor :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> m ()
- glShaderBinary :: MonadIO m => GLsizei -> Ptr GLuint -> GLenum -> Ptr () -> GLsizei -> m ()
- glShaderSource :: MonadIO m => GLuint -> GLsizei -> Ptr (Ptr GLchar) -> Ptr GLint -> m ()
- glStencilFunc :: MonadIO m => GLenum -> GLint -> GLuint -> m ()
- glStencilFuncSeparate :: MonadIO m => GLenum -> GLenum -> GLint -> GLuint -> m ()
- glStencilMask :: MonadIO m => GLuint -> m ()
- glStencilMaskSeparate :: MonadIO m => GLenum -> GLuint -> m ()
- glStencilOp :: MonadIO m => GLenum -> GLenum -> GLenum -> m ()
- glStencilOpSeparate :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
- glTexImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr () -> m ()
- glTexParameterf :: MonadIO m => GLenum -> GLenum -> GLfloat -> m ()
- glTexParameterfv :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m ()
- glTexParameteri :: MonadIO m => GLenum -> GLenum -> GLint -> m ()
- glTexParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m ()
- glTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> 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 ()
- glVertexAttrib1f :: MonadIO m => GLuint -> GLfloat -> m ()
- glVertexAttrib1fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib2f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m ()
- glVertexAttrib2fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib3f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib3fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib4f :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib4fv :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttribPointer :: MonadIO m => GLuint -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr () -> m ()
- glViewport :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> m ()
- pattern GL_ACTIVE_ATTRIBUTES :: (Eq a, Num a) => a
- pattern GL_ACTIVE_ATTRIBUTE_MAX_LENGTH :: (Eq a, Num a) => a
- pattern GL_ACTIVE_TEXTURE :: (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_ALIASED_LINE_WIDTH_RANGE :: (Eq a, Num a) => a
- pattern GL_ALIASED_POINT_SIZE_RANGE :: (Eq a, Num a) => a
- pattern GL_ALPHA :: (Eq a, Num a) => a
- pattern GL_ALPHA_BITS :: (Eq a, Num a) => a
- pattern GL_ALWAYS :: (Eq a, Num a) => a
- pattern GL_ARRAY_BUFFER :: (Eq a, Num a) => a
- pattern GL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_ATTACHED_SHADERS :: (Eq a, Num a) => a
- pattern GL_BACK :: (Eq a, Num a) => a
- pattern GL_BLEND :: (Eq a, Num a) => a
- pattern GL_BLEND_COLOR :: (Eq a, Num a) => a
- pattern GL_BLEND_DST_ALPHA :: (Eq a, Num a) => a
- pattern GL_BLEND_DST_RGB :: (Eq a, Num a) => a
- pattern GL_BLEND_EQUATION :: (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_BLEND_SRC_ALPHA :: (Eq a, Num a) => a
- pattern GL_BLEND_SRC_RGB :: (Eq a, Num a) => a
- pattern GL_BLUE_BITS :: (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_BUFFER_SIZE :: (Eq a, Num a) => a
- pattern GL_BUFFER_USAGE :: (Eq a, Num a) => a
- pattern GL_BYTE :: (Eq a, Num a) => a
- pattern GL_CCW :: (Eq a, Num a) => a
- pattern GL_CLAMP_TO_EDGE :: (Eq a, Num a) => a
- pattern GL_COLOR_ATTACHMENT0 :: (Eq a, Num a) => a
- pattern GL_COLOR_BUFFER_BIT :: (Eq a, Num a) => a
- pattern GL_COLOR_CLEAR_VALUE :: (Eq a, Num a) => a
- pattern GL_COLOR_WRITEMASK :: (Eq a, Num a) => a
- pattern GL_COMPILE_STATUS :: (Eq a, Num a) => a
- pattern GL_COMPRESSED_TEXTURE_FORMATS :: (Eq a, Num a) => a
- pattern GL_CONSTANT_ALPHA :: (Eq a, Num a) => a
- pattern GL_CONSTANT_COLOR :: (Eq a, Num a) => a
- pattern GL_CULL_FACE :: (Eq a, Num a) => a
- pattern GL_CULL_FACE_MODE :: (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_CW :: (Eq a, Num a) => a
- pattern GL_DECR :: (Eq a, Num a) => a
- pattern GL_DECR_WRAP :: (Eq a, Num a) => a
- pattern GL_DELETE_STATUS :: (Eq a, Num a) => a
- pattern GL_DEPTH_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_DEPTH_BITS :: (Eq a, Num a) => a
- pattern GL_DEPTH_BUFFER_BIT :: (Eq a, Num a) => a
- pattern GL_DEPTH_CLEAR_VALUE :: (Eq a, Num a) => a
- pattern GL_DEPTH_COMPONENT :: (Eq a, Num a) => a
- pattern GL_DEPTH_COMPONENT16 :: (Eq a, Num a) => a
- pattern GL_DEPTH_FUNC :: (Eq a, Num a) => a
- pattern GL_DEPTH_RANGE :: (Eq a, Num a) => a
- pattern GL_DEPTH_TEST :: (Eq a, Num a) => a
- pattern GL_DEPTH_WRITEMASK :: (Eq a, Num a) => a
- pattern GL_DITHER :: (Eq a, Num a) => a
- pattern GL_DONT_CARE :: (Eq a, Num a) => a
- pattern GL_DST_ALPHA :: (Eq a, Num a) => a
- pattern GL_DST_COLOR :: (Eq a, Num a) => a
- pattern GL_DYNAMIC_DRAW :: (Eq a, Num a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER :: (Eq a, Num a) => a
- pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_EQUAL :: (Eq a, Num a) => a
- pattern GL_EXTENSIONS :: (Eq a, Num a) => a
- pattern GL_FALSE :: (Eq a, Num a) => a
- pattern GL_FASTEST :: (Eq a, Num a) => a
- pattern GL_FIXED :: (Eq a, Num a) => a
- pattern GL_FLOAT :: (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_FRAMEBUFFER :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_COMPLETE :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT :: (Eq a, Num a) => a
- pattern GL_FRAMEBUFFER_UNSUPPORTED :: (Eq a, Num a) => a
- pattern GL_FRONT :: (Eq a, Num a) => a
- pattern GL_FRONT_AND_BACK :: (Eq a, Num a) => a
- pattern GL_FRONT_FACE :: (Eq a, Num a) => a
- pattern GL_FUNC_ADD :: (Eq a, Num a) => a
- pattern GL_FUNC_REVERSE_SUBTRACT :: (Eq a, Num a) => a
- pattern GL_FUNC_SUBTRACT :: (Eq a, Num a) => a
- pattern GL_GENERATE_MIPMAP_HINT :: (Eq a, Num a) => a
- pattern GL_GEQUAL :: (Eq a, Num a) => a
- pattern GL_GREATER :: (Eq a, Num a) => a
- pattern GL_GREEN_BITS :: (Eq a, Num a) => a
- pattern GL_HIGH_FLOAT :: (Eq a, Num a) => a
- pattern GL_HIGH_INT :: (Eq a, Num a) => a
- pattern GL_IMPLEMENTATION_COLOR_READ_FORMAT :: (Eq a, Num a) => a
- pattern GL_IMPLEMENTATION_COLOR_READ_TYPE :: (Eq a, Num a) => a
- pattern GL_INCR :: (Eq a, Num a) => a
- pattern GL_INCR_WRAP :: (Eq a, Num a) => a
- pattern GL_INFO_LOG_LENGTH :: (Eq a, Num a) => a
- pattern GL_INT :: (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_INVALID_ENUM :: (Eq a, Num a) => a
- pattern GL_INVALID_FRAMEBUFFER_OPERATION :: (Eq a, Num a) => a
- pattern GL_INVALID_OPERATION :: (Eq a, Num a) => a
- pattern GL_INVALID_VALUE :: (Eq a, Num a) => a
- pattern GL_INVERT :: (Eq a, Num a) => a
- pattern GL_KEEP :: (Eq a, Num a) => a
- pattern GL_LEQUAL :: (Eq a, Num a) => a
- pattern GL_LESS :: (Eq a, Num a) => a
- pattern GL_LINEAR :: (Eq a, Num a) => a
- pattern GL_LINEAR_MIPMAP_LINEAR :: (Eq a, Num a) => a
- pattern GL_LINEAR_MIPMAP_NEAREST :: (Eq a, Num a) => a
- pattern GL_LINES :: (Eq a, Num a) => a
- pattern GL_LINE_LOOP :: (Eq a, Num a) => a
- pattern GL_LINE_STRIP :: (Eq a, Num a) => a
- pattern GL_LINE_WIDTH :: (Eq a, Num a) => a
- pattern GL_LINK_STATUS :: (Eq a, Num a) => a
- pattern GL_LOW_FLOAT :: (Eq a, Num a) => a
- pattern GL_LOW_INT :: (Eq a, Num a) => a
- pattern GL_LUMINANCE :: (Eq a, Num a) => a
- pattern GL_LUMINANCE_ALPHA :: (Eq a, Num a) => a
- pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a
- pattern GL_MAX_CUBE_MAP_TEXTURE_SIZE :: (Eq a, Num a) => a
- pattern GL_MAX_FRAGMENT_UNIFORM_VECTORS :: (Eq a, Num a) => a
- pattern GL_MAX_RENDERBUFFER_SIZE :: (Eq a, Num a) => a
- pattern GL_MAX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a
- pattern GL_MAX_TEXTURE_SIZE :: (Eq a, Num a) => a
- pattern GL_MAX_VARYING_VECTORS :: (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_VECTORS :: (Eq a, Num a) => a
- pattern GL_MAX_VIEWPORT_DIMS :: (Eq a, Num a) => a
- pattern GL_MEDIUM_FLOAT :: (Eq a, Num a) => a
- pattern GL_MEDIUM_INT :: (Eq a, Num a) => a
- pattern GL_MIRRORED_REPEAT :: (Eq a, Num a) => a
- pattern GL_NEAREST :: (Eq a, Num a) => a
- pattern GL_NEAREST_MIPMAP_LINEAR :: (Eq a, Num a) => a
- pattern GL_NEAREST_MIPMAP_NEAREST :: (Eq a, Num a) => a
- pattern GL_NEVER :: (Eq a, Num a) => a
- pattern GL_NICEST :: (Eq a, Num a) => a
- pattern GL_NONE :: (Eq a, Num a) => a
- pattern GL_NOTEQUAL :: (Eq a, Num a) => a
- pattern GL_NO_ERROR :: (Eq a, Num a) => a
- pattern GL_NUM_COMPRESSED_TEXTURE_FORMATS :: (Eq a, Num a) => a
- pattern GL_NUM_SHADER_BINARY_FORMATS :: (Eq a, Num a) => a
- pattern GL_ONE :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_CONSTANT_ALPHA :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_CONSTANT_COLOR :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_DST_ALPHA :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_DST_COLOR :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_SRC_ALPHA :: (Eq a, Num a) => a
- pattern GL_ONE_MINUS_SRC_COLOR :: (Eq a, Num a) => a
- pattern GL_OUT_OF_MEMORY :: (Eq a, Num a) => a
- pattern GL_PACK_ALIGNMENT :: (Eq a, Num a) => a
- pattern GL_POINTS :: (Eq a, Num a) => a
- pattern GL_POLYGON_OFFSET_FACTOR :: (Eq a, Num a) => a
- pattern GL_POLYGON_OFFSET_FILL :: (Eq a, Num a) => a
- pattern GL_POLYGON_OFFSET_UNITS :: (Eq a, Num a) => a
- pattern GL_RED_BITS :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_ALPHA_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_BINDING :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_BLUE_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_DEPTH_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_GREEN_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_HEIGHT :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_INTERNAL_FORMAT :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_RED_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_STENCIL_SIZE :: (Eq a, Num a) => a
- pattern GL_RENDERBUFFER_WIDTH :: (Eq a, Num a) => a
- pattern GL_RENDERER :: (Eq a, Num a) => a
- pattern GL_REPEAT :: (Eq a, Num a) => a
- pattern GL_REPLACE :: (Eq a, Num a) => a
- pattern GL_RGB :: (Eq a, Num a) => a
- pattern GL_RGB565 :: (Eq a, Num a) => a
- pattern GL_RGB5_A1 :: (Eq a, Num a) => a
- pattern GL_RGBA :: (Eq a, Num a) => a
- pattern GL_RGBA4 :: (Eq a, Num a) => a
- pattern GL_SAMPLER_2D :: (Eq a, Num a) => a
- pattern GL_SAMPLER_CUBE :: (Eq a, Num a) => a
- pattern GL_SAMPLES :: (Eq a, Num a) => a
- pattern GL_SAMPLE_ALPHA_TO_COVERAGE :: (Eq a, Num a) => a
- pattern GL_SAMPLE_BUFFERS :: (Eq a, Num a) => a
- pattern GL_SAMPLE_COVERAGE :: (Eq a, Num a) => a
- pattern GL_SAMPLE_COVERAGE_INVERT :: (Eq a, Num a) => a
- pattern GL_SAMPLE_COVERAGE_VALUE :: (Eq a, Num a) => a
- pattern GL_SCISSOR_BOX :: (Eq a, Num a) => a
- pattern GL_SCISSOR_TEST :: (Eq a, Num a) => a
- pattern GL_SHADER_BINARY_FORMATS :: (Eq a, Num a) => a
- pattern GL_SHADER_COMPILER :: (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_SHORT :: (Eq a, Num a) => a
- pattern GL_SRC_ALPHA :: (Eq a, Num a) => a
- pattern GL_SRC_ALPHA_SATURATE :: (Eq a, Num a) => a
- pattern GL_SRC_COLOR :: (Eq a, Num a) => a
- pattern GL_STATIC_DRAW :: (Eq a, Num a) => a
- pattern GL_STENCIL_ATTACHMENT :: (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_STENCIL_BITS :: (Eq a, Num a) => a
- pattern GL_STENCIL_BUFFER_BIT :: (Eq a, Num a) => a
- pattern GL_STENCIL_CLEAR_VALUE :: (Eq a, Num a) => a
- pattern GL_STENCIL_FAIL :: (Eq a, Num a) => a
- pattern GL_STENCIL_FUNC :: (Eq a, Num a) => a
- pattern GL_STENCIL_INDEX8 :: (Eq a, Num a) => a
- pattern GL_STENCIL_PASS_DEPTH_FAIL :: (Eq a, Num a) => a
- pattern GL_STENCIL_PASS_DEPTH_PASS :: (Eq a, Num a) => a
- pattern GL_STENCIL_REF :: (Eq a, Num a) => a
- pattern GL_STENCIL_TEST :: (Eq a, Num a) => a
- pattern GL_STENCIL_VALUE_MASK :: (Eq a, Num a) => a
- pattern GL_STENCIL_WRITEMASK :: (Eq a, Num a) => a
- pattern GL_STREAM_DRAW :: (Eq a, Num a) => a
- pattern GL_SUBPIXEL_BITS :: (Eq a, Num a) => a
- pattern GL_TEXTURE :: (Eq a, Num a) => a
- pattern GL_TEXTURE0 :: (Eq a, Num a) => a
- pattern GL_TEXTURE1 :: (Eq a, Num a) => a
- pattern GL_TEXTURE10 :: (Eq a, Num a) => a
- pattern GL_TEXTURE11 :: (Eq a, Num a) => a
- pattern GL_TEXTURE12 :: (Eq a, Num a) => a
- pattern GL_TEXTURE13 :: (Eq a, Num a) => a
- pattern GL_TEXTURE14 :: (Eq a, Num a) => a
- pattern GL_TEXTURE15 :: (Eq a, Num a) => a
- pattern GL_TEXTURE16 :: (Eq a, Num a) => a
- pattern GL_TEXTURE17 :: (Eq a, Num a) => a
- pattern GL_TEXTURE18 :: (Eq a, Num a) => a
- pattern GL_TEXTURE19 :: (Eq a, Num a) => a
- pattern GL_TEXTURE2 :: (Eq a, Num a) => a
- pattern GL_TEXTURE20 :: (Eq a, Num a) => a
- pattern GL_TEXTURE21 :: (Eq a, Num a) => a
- pattern GL_TEXTURE22 :: (Eq a, Num a) => a
- pattern GL_TEXTURE23 :: (Eq a, Num a) => a
- pattern GL_TEXTURE24 :: (Eq a, Num a) => a
- pattern GL_TEXTURE25 :: (Eq a, Num a) => a
- pattern GL_TEXTURE26 :: (Eq a, Num a) => a
- pattern GL_TEXTURE27 :: (Eq a, Num a) => a
- pattern GL_TEXTURE28 :: (Eq a, Num a) => a
- pattern GL_TEXTURE29 :: (Eq a, Num a) => a
- pattern GL_TEXTURE3 :: (Eq a, Num a) => a
- pattern GL_TEXTURE30 :: (Eq a, Num a) => a
- pattern GL_TEXTURE31 :: (Eq a, Num a) => a
- pattern GL_TEXTURE4 :: (Eq a, Num a) => a
- pattern GL_TEXTURE5 :: (Eq a, Num a) => a
- pattern GL_TEXTURE6 :: (Eq a, Num a) => a
- pattern GL_TEXTURE7 :: (Eq a, Num a) => a
- pattern GL_TEXTURE8 :: (Eq a, Num a) => a
- pattern GL_TEXTURE9 :: (Eq a, Num a) => a
- pattern GL_TEXTURE_2D :: (Eq a, Num a) => a
- pattern GL_TEXTURE_BINDING_2D :: (Eq a, Num a) => a
- pattern GL_TEXTURE_BINDING_CUBE_MAP :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_X :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_Y :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_Z :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_POSITIVE_X :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_POSITIVE_Y :: (Eq a, Num a) => a
- pattern GL_TEXTURE_CUBE_MAP_POSITIVE_Z :: (Eq a, Num a) => a
- pattern GL_TEXTURE_MAG_FILTER :: (Eq a, Num a) => a
- pattern GL_TEXTURE_MIN_FILTER :: (Eq a, Num a) => a
- pattern GL_TEXTURE_WRAP_S :: (Eq a, Num a) => a
- pattern GL_TEXTURE_WRAP_T :: (Eq a, Num a) => a
- pattern GL_TRIANGLES :: (Eq a, Num a) => a
- pattern GL_TRIANGLE_FAN :: (Eq a, Num a) => a
- pattern GL_TRIANGLE_STRIP :: (Eq a, Num a) => a
- pattern GL_TRUE :: (Eq a, Num a) => a
- pattern GL_UNPACK_ALIGNMENT :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_BYTE :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_INT :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_SHORT :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_SHORT_4_4_4_4 :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_SHORT_5_5_5_1 :: (Eq a, Num a) => a
- pattern GL_UNSIGNED_SHORT_5_6_5 :: (Eq a, Num a) => a
- pattern GL_VALIDATE_STATUS :: (Eq a, Num a) => a
- pattern GL_VENDOR :: (Eq a, Num a) => a
- pattern GL_VERSION :: (Eq a, Num a) => a
- pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: (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_SHADER :: (Eq a, Num a) => a
- pattern GL_VIEWPORT :: (Eq a, Num a) => a
- pattern GL_ZERO :: (Eq a, Num a) => a
Graphics.GL.Embedded20
glActiveTexture :: MonadIO m => GLenum -> m () Source #
Usage: glActiveTexture
texture
The parameter texture
is a TextureUnit
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glActiveTexture.xhtml
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
glBindBuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindBuffer
target buffer
The parameter target
is a BufferTargetARB
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindBuffer.xhtml
glBindFramebuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindFramebuffer
target framebuffer
The parameter target
is a FramebufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindFramebuffer.xhtml
glBindRenderbuffer :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindRenderbuffer
target renderbuffer
The parameter target
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindRenderbuffer.xhtml
glBindTexture :: MonadIO m => GLenum -> GLuint -> m () Source #
Usage: glBindTexture
target texture
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter texture
is a Texture
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBindTexture.xhtml
glBlendColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glBlendColor
red green blue alpha
The parameter red
is a ColorF
.
The parameter green
is a ColorF
.
The parameter blue
is a ColorF
.
The parameter alpha
is a ColorF
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendColor.xhtml
glBlendEquation :: MonadIO m => GLenum -> m () Source #
Usage: glBlendEquation
mode
The parameter mode
is a BlendEquationMode
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendEquation.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
glBlendFunc :: MonadIO m => GLenum -> GLenum -> m () Source #
Usage: glBlendFunc
sfactor dfactor
The parameter sfactor
is a BlendingFactorSrc
, one of: GL_CONSTANT_ALPHA_EXT
, GL_CONSTANT_COLOR_EXT
, GL_DST_ALPHA
, GL_DST_COLOR
, GL_ONE
, GL_ONE_MINUS_CONSTANT_ALPHA_EXT
, GL_ONE_MINUS_CONSTANT_COLOR_EXT
, GL_ONE_MINUS_DST_ALPHA
, GL_ONE_MINUS_DST_COLOR
, GL_ONE_MINUS_SRC_ALPHA
, GL_SRC_ALPHA
, GL_SRC_ALPHA_SATURATE
, GL_ZERO
.
The parameter dfactor
is a BlendingFactorDest
, one of: GL_CONSTANT_ALPHA_EXT
, GL_CONSTANT_COLOR_EXT
, GL_DST_ALPHA
, GL_ONE
, GL_ONE_MINUS_CONSTANT_ALPHA_EXT
, GL_ONE_MINUS_CONSTANT_COLOR_EXT
, GL_ONE_MINUS_DST_ALPHA
, GL_ONE_MINUS_SRC_ALPHA
, GL_ONE_MINUS_SRC_COLOR
, GL_SRC_ALPHA
, GL_SRC_COLOR
, GL_ZERO
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendFunc.xhtml
glBlendFuncSeparate :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m () Source #
Usage: glBlendFuncSeparate
sfactorRGB dfactorRGB sfactorAlpha dfactorAlpha
The parameter sfactorRGB
is a BlendFuncSeparateParameterEXT
.
The parameter dfactorRGB
is a BlendFuncSeparateParameterEXT
.
The parameter sfactorAlpha
is a BlendFuncSeparateParameterEXT
.
The parameter dfactorAlpha
is a BlendFuncSeparateParameterEXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBlendFuncSeparate.xhtml
glBufferData :: MonadIO m => GLenum -> GLsizeiptr -> Ptr () -> GLenum -> m () Source #
Usage: glBufferData
target size data usage
The parameter target
is a BufferTargetARB
.
The parameter size
is a BufferSize
.
The parameter usage
is a BufferUsageARB
.
The length of data
should be size
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferData.xhtml
glBufferSubData :: MonadIO m => GLenum -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #
Usage: glBufferSubData
target offset size data
The parameter target
is a BufferTargetARB
.
The parameter offset
is a BufferOffset
.
The parameter size
is a BufferSize
.
The length of data
should be size
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glBufferSubData.xhtml
glCheckFramebufferStatus :: MonadIO m => GLenum -> m GLenum Source #
Usage: glCheckFramebufferStatus
target
The parameter target
is a FramebufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCheckFramebufferStatus.xhtml
glClear :: MonadIO m => GLbitfield -> m () Source #
Usage: glClear
mask
The parameter mask
is a ClearBufferMask
, one of: GL_ACCUM_BUFFER_BIT
, GL_COLOR_BUFFER_BIT
, GL_COVERAGE_BUFFER_BIT_NV
, GL_DEPTH_BUFFER_BIT
, GL_STENCIL_BUFFER_BIT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glClear.xhtml
glClearColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #
Usage: glClearColor
red green blue alpha
The parameter red
is a ColorF
.
The parameter green
is a ColorF
.
The parameter blue
is a ColorF
.
The parameter alpha
is a ColorF
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glClearColor.xhtml
glClearDepthf :: MonadIO m => GLfloat -> m () Source #
Usage: glClearDepthf
d
glClearStencil :: MonadIO m => GLint -> m () Source #
Usage: glClearStencil
s
The parameter s
is a StencilValue
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glClearStencil.xhtml
glColorMask :: MonadIO m => GLboolean -> GLboolean -> GLboolean -> GLboolean -> m () Source #
Usage: glColorMask
red green blue alpha
The parameter red
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The parameter green
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The parameter blue
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The parameter alpha
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glColorMask.xhtml
glCompileShader :: MonadIO m => GLuint -> m () Source #
Usage: glCompileShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glCompileShader.xhtml
glCompressedTexImage2D :: MonadIO m => GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLint -> GLsizei -> Ptr () -> m () Source #
Usage: glCompressedTexImage2D
target level internalformat width height border imageSize data
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter internalformat
is a InternalFormat
, one of: GL_ALPHA12
, GL_ALPHA16
, GL_ALPHA16_ICC_SGIX
, GL_ALPHA4
, GL_ALPHA8
, GL_ALPHA_ICC_SGIX
, GL_DEPTH_COMPONENT16_SGIX
, GL_DEPTH_COMPONENT24_SGIX
, GL_DEPTH_COMPONENT32_SGIX
, GL_DUAL_ALPHA12_SGIS
, GL_DUAL_ALPHA16_SGIS
, GL_DUAL_ALPHA4_SGIS
, GL_DUAL_ALPHA8_SGIS
, GL_DUAL_INTENSITY12_SGIS
, GL_DUAL_INTENSITY16_SGIS
, GL_DUAL_INTENSITY4_SGIS
, GL_DUAL_INTENSITY8_SGIS
, GL_DUAL_LUMINANCE12_SGIS
, GL_DUAL_LUMINANCE16_SGIS
, GL_DUAL_LUMINANCE4_SGIS
, GL_DUAL_LUMINANCE8_SGIS
, GL_DUAL_LUMINANCE_ALPHA4_SGIS
, GL_DUAL_LUMINANCE_ALPHA8_SGIS
, GL_INTENSITY
, GL_INTENSITY12
, GL_INTENSITY16
, GL_INTENSITY16_ICC_SGIX
, GL_INTENSITY4
, GL_INTENSITY8
, GL_INTENSITY_ICC_SGIX
, GL_LUMINANCE12
, GL_LUMINANCE12_ALPHA12
, GL_LUMINANCE12_ALPHA4
, GL_LUMINANCE16
, GL_LUMINANCE16_ALPHA16
, GL_LUMINANCE16_ALPHA8_ICC_SGIX
, GL_LUMINANCE16_ICC_SGIX
, GL_LUMINANCE4
, GL_LUMINANCE4_ALPHA4
, GL_LUMINANCE6_ALPHA2
, GL_LUMINANCE8
, GL_LUMINANCE8_ALPHA8
, GL_LUMINANCE_ALPHA_ICC_SGIX
, GL_LUMINANCE_ICC_SGIX
, GL_QUAD_ALPHA4_SGIS
, GL_QUAD_ALPHA8_SGIS
, GL_QUAD_INTENSITY4_SGIS
, GL_QUAD_INTENSITY8_SGIS
, GL_QUAD_LUMINANCE4_SGIS
, GL_QUAD_LUMINANCE8_SGIS
, GL_R3_G3_B2
, GL_R5_G6_B5_A8_ICC_SGIX
, GL_R5_G6_B5_ICC_SGIX
, GL_RGB10
, GL_RGB10_A2
, GL_RGB12
, GL_RGB16
, GL_RGB2_EXT
, GL_RGB4
, GL_RGB5
, GL_RGB5_A1
, GL_RGB8
, GL_RGBA12
, GL_RGBA16
, GL_RGBA2
, GL_RGBA4
, GL_RGBA8
, GL_RGBA_ICC_SGIX
, GL_RGB_ICC_SGIX
.
The parameter border
is a CheckedInt32
.
The parameter data
is a CompressedTextureARB
.
The length of data
should be imageSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCompressedTexImage2D.xhtml
glCompressedTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m () Source #
Usage: glCompressedTexSubImage2D
target level xoffset yoffset width height format imageSize data
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter xoffset
is a CheckedInt32
.
The parameter yoffset
is a CheckedInt32
.
The parameter format
is a PixelFormat
, one of: GL_ABGR_EXT
, GL_ALPHA
, GL_BLUE
, GL_CMYKA_EXT
, GL_CMYK_EXT
, GL_COLOR_INDEX
, GL_DEPTH_COMPONENT
, GL_GREEN
, GL_LUMINANCE
, GL_LUMINANCE_ALPHA
, GL_RED
, GL_RED_EXT
, GL_RGB
, GL_RGBA
, GL_STENCIL_INDEX
, GL_UNSIGNED_INT
, GL_UNSIGNED_SHORT
, GL_YCRCB_422_SGIX
, GL_YCRCB_444_SGIX
.
The parameter data
is a CompressedTextureARB
.
The length of data
should be imageSize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCompressedTexSubImage2D.xhtml
glCopyTexImage2D :: MonadIO m => GLenum -> GLint -> GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLint -> m () Source #
Usage: glCopyTexImage2D
target level internalformat x y width height border
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter internalformat
is a InternalFormat
, one of: GL_ALPHA12
, GL_ALPHA16
, GL_ALPHA16_ICC_SGIX
, GL_ALPHA4
, GL_ALPHA8
, GL_ALPHA_ICC_SGIX
, GL_DEPTH_COMPONENT16_SGIX
, GL_DEPTH_COMPONENT24_SGIX
, GL_DEPTH_COMPONENT32_SGIX
, GL_DUAL_ALPHA12_SGIS
, GL_DUAL_ALPHA16_SGIS
, GL_DUAL_ALPHA4_SGIS
, GL_DUAL_ALPHA8_SGIS
, GL_DUAL_INTENSITY12_SGIS
, GL_DUAL_INTENSITY16_SGIS
, GL_DUAL_INTENSITY4_SGIS
, GL_DUAL_INTENSITY8_SGIS
, GL_DUAL_LUMINANCE12_SGIS
, GL_DUAL_LUMINANCE16_SGIS
, GL_DUAL_LUMINANCE4_SGIS
, GL_DUAL_LUMINANCE8_SGIS
, GL_DUAL_LUMINANCE_ALPHA4_SGIS
, GL_DUAL_LUMINANCE_ALPHA8_SGIS
, GL_INTENSITY
, GL_INTENSITY12
, GL_INTENSITY16
, GL_INTENSITY16_ICC_SGIX
, GL_INTENSITY4
, GL_INTENSITY8
, GL_INTENSITY_ICC_SGIX
, GL_LUMINANCE12
, GL_LUMINANCE12_ALPHA12
, GL_LUMINANCE12_ALPHA4
, GL_LUMINANCE16
, GL_LUMINANCE16_ALPHA16
, GL_LUMINANCE16_ALPHA8_ICC_SGIX
, GL_LUMINANCE16_ICC_SGIX
, GL_LUMINANCE4
, GL_LUMINANCE4_ALPHA4
, GL_LUMINANCE6_ALPHA2
, GL_LUMINANCE8
, GL_LUMINANCE8_ALPHA8
, GL_LUMINANCE_ALPHA_ICC_SGIX
, GL_LUMINANCE_ICC_SGIX
, GL_QUAD_ALPHA4_SGIS
, GL_QUAD_ALPHA8_SGIS
, GL_QUAD_INTENSITY4_SGIS
, GL_QUAD_INTENSITY8_SGIS
, GL_QUAD_LUMINANCE4_SGIS
, GL_QUAD_LUMINANCE8_SGIS
, GL_R3_G3_B2
, GL_R5_G6_B5_A8_ICC_SGIX
, GL_R5_G6_B5_ICC_SGIX
, GL_RGB10
, GL_RGB10_A2
, GL_RGB12
, GL_RGB16
, GL_RGB2_EXT
, GL_RGB4
, GL_RGB5
, GL_RGB5_A1
, GL_RGB8
, GL_RGBA12
, GL_RGBA16
, GL_RGBA2
, GL_RGBA4
, GL_RGBA8
, GL_RGBA_ICC_SGIX
, GL_RGB_ICC_SGIX
.
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
The parameter border
is a CheckedInt32
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCopyTexImage2D.xhtml
glCopyTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #
Usage: glCopyTexSubImage2D
target level xoffset yoffset x y width height
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter xoffset
is a CheckedInt32
.
The parameter yoffset
is a CheckedInt32
.
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCopyTexSubImage2D.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
glCullFace :: MonadIO m => GLenum -> m () Source #
Usage: glCullFace
mode
The parameter mode
is a CullFaceMode
, one of: GL_BACK
, GL_FRONT
, GL_FRONT_AND_BACK
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glCullFace.xhtml
glDeleteBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteBuffers
n buffers
The length of buffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteBuffers.xhtml
glDeleteFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteFramebuffers
n framebuffers
The length of framebuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteFramebuffers.xhtml
glDeleteProgram :: MonadIO m => GLuint -> m () Source #
Usage: glDeleteProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteProgram.xhtml
glDeleteRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteRenderbuffers
n renderbuffers
The length of renderbuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteRenderbuffers.xhtml
glDeleteShader :: MonadIO m => GLuint -> m () Source #
Usage: glDeleteShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteShader.xhtml
glDeleteTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glDeleteTextures
n textures
The parameter textures
is a Texture
.
The length of textures
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteTextures.xhtml
glDepthFunc :: MonadIO m => GLenum -> m () Source #
Usage: glDepthFunc
func
The parameter func
is a DepthFunction
, one of: GL_ALWAYS
, GL_EQUAL
, GL_GEQUAL
, GL_GREATER
, GL_LEQUAL
, GL_LESS
, GL_NEVER
, GL_NOTEQUAL
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDepthFunc.xhtml
glDepthMask :: MonadIO m => GLboolean -> m () Source #
Usage: glDepthMask
flag
The parameter flag
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDepthMask.xhtml
glDepthRangef :: MonadIO m => GLfloat -> GLfloat -> m () Source #
Usage: glDepthRangef
n f
glDetachShader :: MonadIO m => GLuint -> GLuint -> m () Source #
Usage: glDetachShader
program shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glDetachShader.xhtml
glDisable :: MonadIO m => GLenum -> m () Source #
Usage: glDisable
cap
The parameter cap
is a EnableCap
, one of: GL_ALPHA_TEST
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_AUTO_NORMAL
, GL_BLEND
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_TABLE_SGI
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CULL_FACE
, GL_DEPTH_TEST
, GL_DITHER
, GL_EDGE_FLAG_ARRAY
, GL_FOG
, GL_FOG_OFFSET_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHT1_SGIX
, GL_FRAGMENT_LIGHT2_SGIX
, GL_FRAGMENT_LIGHT3_SGIX
, GL_FRAGMENT_LIGHT4_SGIX
, GL_FRAGMENT_LIGHT5_SGIX
, GL_FRAGMENT_LIGHT6_SGIX
, GL_FRAGMENT_LIGHT7_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAMEZOOM_SGIX
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_LOGIC_OP
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LINE_SMOOTH
, GL_LINE_STIPPLE
, GL_MAP1_COLOR_4
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MINMAX_EXT
, GL_MULTISAMPLE_SGIS
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_SGIX
, GL_POINT_SMOOTH
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_SMOOTH
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_REFERENCE_PLANE_SGIX
, GL_RESCALE_NORMAL_EXT
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SCISSOR_TEST
, GL_SEPARABLE_2D_EXT
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SPRITE_SGIX
, GL_STENCIL_TEST
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_VERTEX_ARRAY
.
glDisableVertexAttribArray :: MonadIO m => GLuint -> m () Source #
Usage: glDisableVertexAttribArray
index
glDrawArrays :: MonadIO m => GLenum -> GLint -> GLsizei -> m () Source #
Usage: glDrawArrays
mode first count
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawArrays.xhtml
glDrawElements :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> m () Source #
Usage: glDrawElements
mode count type indices
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
The parameter type
is a DrawElementsType
.
The length of indices
should be COMPSIZE(count,type)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawElements.xhtml
glEnable :: MonadIO m => GLenum -> m () Source #
Usage: glEnable
cap
The parameter cap
is a EnableCap
, one of: GL_ALPHA_TEST
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_AUTO_NORMAL
, GL_BLEND
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_TABLE_SGI
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CULL_FACE
, GL_DEPTH_TEST
, GL_DITHER
, GL_EDGE_FLAG_ARRAY
, GL_FOG
, GL_FOG_OFFSET_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHT1_SGIX
, GL_FRAGMENT_LIGHT2_SGIX
, GL_FRAGMENT_LIGHT3_SGIX
, GL_FRAGMENT_LIGHT4_SGIX
, GL_FRAGMENT_LIGHT5_SGIX
, GL_FRAGMENT_LIGHT6_SGIX
, GL_FRAGMENT_LIGHT7_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAMEZOOM_SGIX
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_LOGIC_OP
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LINE_SMOOTH
, GL_LINE_STIPPLE
, GL_MAP1_COLOR_4
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MINMAX_EXT
, GL_MULTISAMPLE_SGIS
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_SGIX
, GL_POINT_SMOOTH
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_SMOOTH
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_REFERENCE_PLANE_SGIX
, GL_RESCALE_NORMAL_EXT
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SCISSOR_TEST
, GL_SEPARABLE_2D_EXT
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SPRITE_SGIX
, GL_STENCIL_TEST
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_VERTEX_ARRAY
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glEnable.xhtml
glEnableVertexAttribArray :: MonadIO m => GLuint -> m () Source #
Usage: glEnableVertexAttribArray
index
Manual page: https://www.opengl.org/sdk/docs/man/html/glEnableVertexAttribArray.xhtml
glFinish :: MonadIO m => m () Source #
Usage: glFinish
Manual page: https://www.opengl.org/sdk/docs/man/html/glFinish.xhtml
glFlush :: MonadIO m => m () Source #
Usage: glFlush
Manual page: https://www.opengl.org/sdk/docs/man/html/glFlush.xhtml
glFramebufferRenderbuffer :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> m () Source #
Usage: glFramebufferRenderbuffer
target attachment renderbuffertarget renderbuffer
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
The parameter renderbuffertarget
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glFramebufferRenderbuffer.xhtml
glFramebufferTexture2D :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> m () Source #
Usage: glFramebufferTexture2D
target attachment textarget texture level
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
glFrontFace :: MonadIO m => GLenum -> m () Source #
Usage: glFrontFace
mode
The parameter mode
is a FrontFaceDirection
, one of: GL_CCW
, GL_CW
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glFrontFace.xhtml
glGenBuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenBuffers
n buffers
The length of buffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenBuffers.xhtml
glGenFramebuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenFramebuffers
n framebuffers
The length of framebuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenFramebuffers.xhtml
glGenRenderbuffers :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenRenderbuffers
n renderbuffers
The length of renderbuffers
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenRenderbuffers.xhtml
glGenTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #
Usage: glGenTextures
n textures
The parameter textures
is a Texture
.
The length of textures
should be n
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenTextures.xhtml
glGenerateMipmap :: MonadIO m => GLenum -> m () Source #
Usage: glGenerateMipmap
target
Manual page: https://www.opengl.org/sdk/docs/man/html/glGenerateMipmap.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
glGetBooleanv :: MonadIO m => GLenum -> Ptr GLboolean -> m () Source #
Usage: glGetBooleanv
pname data
The parameter pname
is a GetPName
, one of: GL_ACCUM_ALPHA_BITS
, GL_ACCUM_BLUE_BITS
, GL_ACCUM_CLEAR_VALUE
, GL_ACCUM_GREEN_BITS
, GL_ACCUM_RED_BITS
, GL_ALIASED_LINE_WIDTH_RANGE
, GL_ALIASED_POINT_SIZE_RANGE
, GL_ALPHA_BIAS
, GL_ALPHA_BITS
, GL_ALPHA_SCALE
, GL_ALPHA_TEST
, GL_ALPHA_TEST_FUNC
, GL_ALPHA_TEST_FUNC_QCOM
, GL_ALPHA_TEST_QCOM
, GL_ALPHA_TEST_REF
, GL_ALPHA_TEST_REF_QCOM
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_MARKER_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_ATTRIB_STACK_DEPTH
, GL_AUTO_NORMAL
, GL_AUX_BUFFERS
, GL_BLEND
, GL_BLEND_COLOR_EXT
, GL_BLEND_DST
, GL_BLEND_EQUATION_EXT
, GL_BLEND_SRC
, GL_BLUE_BIAS
, GL_BLUE_BITS
, GL_BLUE_SCALE
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIENT_ATTRIB_STACK_DEPTH
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_ARRAY_COUNT_EXT
, GL_COLOR_ARRAY_SIZE
, GL_COLOR_ARRAY_STRIDE
, GL_COLOR_ARRAY_TYPE
, GL_COLOR_CLEAR_VALUE
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_MATERIAL_FACE
, GL_COLOR_MATERIAL_PARAMETER
, GL_COLOR_MATRIX_SGI
, GL_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_COLOR_TABLE_SGI
, GL_COLOR_WRITEMASK
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CONVOLUTION_HINT_SGIX
, GL_CULL_FACE
, GL_CULL_FACE_MODE
, GL_CURRENT_COLOR
, GL_CURRENT_INDEX
, GL_CURRENT_NORMAL
, GL_CURRENT_RASTER_COLOR
, GL_CURRENT_RASTER_DISTANCE
, GL_CURRENT_RASTER_INDEX
, GL_CURRENT_RASTER_POSITION
, GL_CURRENT_RASTER_POSITION_VALID
, GL_CURRENT_RASTER_TEXTURE_COORDS
, GL_CURRENT_TEXTURE_COORDS
, GL_DEFORMATIONS_MASK_SGIX
, GL_DEPTH_BIAS
, GL_DEPTH_BITS
, GL_DEPTH_CLEAR_VALUE
, GL_DEPTH_FUNC
, GL_DEPTH_RANGE
, GL_DEPTH_SCALE
, GL_DEPTH_TEST
, GL_DEPTH_WRITEMASK
, GL_DETAIL_TEXTURE_2D_BINDING_SGIS
, GL_DISTANCE_ATTENUATION_SGIS
, GL_DITHER
, GL_DOUBLEBUFFER
, GL_DRAW_BUFFER
, GL_DRAW_BUFFER_EXT
, GL_EDGE_FLAG
, GL_EDGE_FLAG_ARRAY
, GL_EDGE_FLAG_ARRAY_COUNT_EXT
, GL_EDGE_FLAG_ARRAY_STRIDE
, GL_FEEDBACK_BUFFER_SIZE
, GL_FEEDBACK_BUFFER_TYPE
, GL_FOG
, GL_FOG_COLOR
, GL_FOG_DENSITY
, GL_FOG_END
, GL_FOG_FUNC_POINTS_SGIS
, GL_FOG_HINT
, GL_FOG_INDEX
, GL_FOG_MODE
, GL_FOG_OFFSET_SGIX
, GL_FOG_OFFSET_VALUE_SGIX
, GL_FOG_START
, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
, GL_FRAMEZOOM_FACTOR_SGIX
, GL_FRAMEZOOM_SGIX
, GL_FRONT_FACE
, GL_GENERATE_MIPMAP_HINT_SGIS
, GL_GREEN_BIAS
, GL_GREEN_BITS
, GL_GREEN_SCALE
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_ARRAY_COUNT_EXT
, GL_INDEX_ARRAY_STRIDE
, GL_INDEX_ARRAY_TYPE
, GL_INDEX_BITS
, GL_INDEX_CLEAR_VALUE
, GL_INDEX_LOGIC_OP
, GL_INDEX_MODE
, GL_INDEX_OFFSET
, GL_INDEX_SHIFT
, GL_INDEX_WRITEMASK
, GL_INSTRUMENT_MEASUREMENTS_SGIX
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LIGHT_ENV_MODE_SGIX
, GL_LIGHT_MODEL_AMBIENT
, GL_LIGHT_MODEL_COLOR_CONTROL
, GL_LIGHT_MODEL_LOCAL_VIEWER
, GL_LIGHT_MODEL_TWO_SIDE
, GL_LINE_SMOOTH
, GL_LINE_SMOOTH_HINT
, GL_LINE_STIPPLE
, GL_LINE_STIPPLE_PATTERN
, GL_LINE_STIPPLE_REPEAT
, GL_LINE_WIDTH
, GL_LINE_WIDTH_GRANULARITY
, GL_LINE_WIDTH_RANGE
, GL_LIST_BASE
, GL_LIST_INDEX
, GL_LIST_MODE
, GL_LOGIC_OP
, GL_LOGIC_OP_MODE
, GL_MAP1_COLOR_4
, GL_MAP1_GRID_DOMAIN
, GL_MAP1_GRID_SEGMENTS
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_GRID_DOMAIN
, GL_MAP2_GRID_SEGMENTS
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MAP_COLOR
, GL_MAP_STENCIL
, GL_MATRIX_MODE
, GL_MAX_3D_TEXTURE_SIZE_EXT
, GL_MAX_4D_TEXTURE_SIZE_SGIS
, GL_MAX_ACTIVE_LIGHTS_SGIX
, GL_MAX_ASYNC_DRAW_PIXELS_SGIX
, GL_MAX_ASYNC_HISTOGRAM_SGIX
, GL_MAX_ASYNC_READ_PIXELS_SGIX
, GL_MAX_ASYNC_TEX_IMAGE_SGIX
, GL_MAX_ATTRIB_STACK_DEPTH
, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
, GL_MAX_CLIPMAP_DEPTH_SGIX
, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_MAX_CLIP_DISTANCES
, GL_MAX_CLIP_PLANES
, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_MAX_EVAL_ORDER
, GL_MAX_FOG_FUNC_POINTS_SGIS
, GL_MAX_FRAGMENT_LIGHTS_SGIX
, GL_MAX_FRAMEZOOM_FACTOR_SGIX
, GL_MAX_LIGHTS
, GL_MAX_LIST_NESTING
, GL_MAX_MODELVIEW_STACK_DEPTH
, GL_MAX_NAME_STACK_DEPTH
, GL_MAX_PIXEL_MAP_TABLE
, GL_MAX_PROJECTION_STACK_DEPTH
, GL_MAX_TEXTURE_SIZE
, GL_MAX_TEXTURE_STACK_DEPTH
, GL_MAX_VIEWPORT_DIMS
, GL_MINMAX_EXT
, GL_MODELVIEW0_MATRIX_EXT
, GL_MODELVIEW0_STACK_DEPTH_EXT
, GL_MODELVIEW_MATRIX
, GL_MODELVIEW_STACK_DEPTH
, GL_MULTISAMPLE_SGIS
, GL_NAME_STACK_DEPTH
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_NORMAL_ARRAY_COUNT_EXT
, GL_NORMAL_ARRAY_STRIDE
, GL_NORMAL_ARRAY_TYPE
, GL_PACK_ALIGNMENT
, GL_PACK_CMYK_HINT_EXT
, GL_PACK_IMAGE_DEPTH_SGIS
, GL_PACK_IMAGE_HEIGHT_EXT
, GL_PACK_LSB_FIRST
, GL_PACK_RESAMPLE_SGIX
, GL_PACK_ROW_LENGTH
, GL_PACK_SKIP_IMAGES_EXT
, GL_PACK_SKIP_PIXELS
, GL_PACK_SKIP_ROWS
, GL_PACK_SKIP_VOLUMES_SGIS
, GL_PACK_SUBSAMPLE_RATE_SGIX
, GL_PACK_SWAP_BYTES
, GL_PERSPECTIVE_CORRECTION_HINT
, GL_PIXEL_MAP_A_TO_A_SIZE
, GL_PIXEL_MAP_B_TO_B_SIZE
, GL_PIXEL_MAP_G_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_A_SIZE
, GL_PIXEL_MAP_I_TO_B_SIZE
, GL_PIXEL_MAP_I_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_I_SIZE
, GL_PIXEL_MAP_I_TO_R_SIZE
, GL_PIXEL_MAP_R_TO_R_SIZE
, GL_PIXEL_MAP_S_TO_S_SIZE
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_MODE_SGIX
, GL_PIXEL_TEX_GEN_SGIX
, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX
, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX
, GL_PIXEL_TILE_CACHE_SIZE_SGIX
, GL_PIXEL_TILE_GRID_DEPTH_SGIX
, GL_PIXEL_TILE_GRID_HEIGHT_SGIX
, GL_PIXEL_TILE_GRID_WIDTH_SGIX
, GL_PIXEL_TILE_HEIGHT_SGIX
, GL_PIXEL_TILE_WIDTH_SGIX
, GL_POINT_FADE_THRESHOLD_SIZE_SGIS
, GL_POINT_SIZE
, GL_POINT_SIZE_GRANULARITY
, GL_POINT_SIZE_MAX_SGIS
, GL_POINT_SIZE_MIN_SGIS
, GL_POINT_SIZE_RANGE
, GL_POINT_SMOOTH
, GL_POINT_SMOOTH_HINT
, GL_POLYGON_MODE
, GL_POLYGON_OFFSET_BIAS_EXT
, GL_POLYGON_OFFSET_FACTOR
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_OFFSET_UNITS
, GL_POLYGON_SMOOTH
, GL_POLYGON_SMOOTH_HINT
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
, GL_POST_COLOR_MATRIX_RED_BIAS_SGI
, GL_POST_COLOR_MATRIX_RED_SCALE_SGI
, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
, GL_POST_CONVOLUTION_BLUE_BIAS_EXT
, GL_POST_CONVOLUTION_BLUE_SCALE_EXT
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_GREEN_BIAS_EXT
, GL_POST_CONVOLUTION_GREEN_SCALE_EXT
, GL_POST_CONVOLUTION_RED_BIAS_EXT
, GL_POST_CONVOLUTION_RED_SCALE_EXT
, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX
, GL_PROJECTION_MATRIX
, GL_PROJECTION_STACK_DEPTH
, GL_READ_BUFFER
, GL_READ_BUFFER_EXT
, GL_READ_BUFFER_NV
, GL_RED_BIAS
, GL_RED_BITS
, GL_RED_SCALE
, GL_REFERENCE_PLANE_EQUATION_SGIX
, GL_REFERENCE_PLANE_SGIX
, GL_RENDER_MODE
, GL_RESCALE_NORMAL_EXT
, GL_RGBA_MODE
, GL_SAMPLES_SGIS
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_BUFFERS_SGIS
, GL_SAMPLE_MASK_INVERT_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SAMPLE_MASK_VALUE_SGIS
, GL_SAMPLE_PATTERN_SGIS
, GL_SCISSOR_BOX
, GL_SCISSOR_TEST
, GL_SELECTION_BUFFER_SIZE
, GL_SEPARABLE_2D_EXT
, GL_SHADE_MODEL
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SMOOTH_LINE_WIDTH_GRANULARITY
, GL_SMOOTH_LINE_WIDTH_RANGE
, GL_SMOOTH_POINT_SIZE_GRANULARITY
, GL_SMOOTH_POINT_SIZE_RANGE
, GL_SPRITE_AXIS_SGIX
, GL_SPRITE_MODE_SGIX
, GL_SPRITE_SGIX
, GL_SPRITE_TRANSLATION_SGIX
, GL_STENCIL_BITS
, GL_STENCIL_CLEAR_VALUE
, GL_STENCIL_FAIL
, GL_STENCIL_FUNC
, GL_STENCIL_PASS_DEPTH_FAIL
, GL_STENCIL_PASS_DEPTH_PASS
, GL_STENCIL_REF
, GL_STENCIL_TEST
, GL_STENCIL_VALUE_MASK
, GL_STENCIL_WRITEMASK
, GL_STEREO
, GL_SUBPIXEL_BITS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_BINDING_EXT
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_BINDING_SGIS
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BINDING_1D
, GL_TEXTURE_BINDING_2D
, GL_TEXTURE_BINDING_3D
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_COORD_ARRAY_COUNT_EXT
, GL_TEXTURE_COORD_ARRAY_SIZE
, GL_TEXTURE_COORD_ARRAY_STRIDE
, GL_TEXTURE_COORD_ARRAY_TYPE
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_TEXTURE_MATRIX
, GL_TEXTURE_STACK_DEPTH
, GL_UNPACK_ALIGNMENT
, GL_UNPACK_CMYK_HINT_EXT
, GL_UNPACK_IMAGE_DEPTH_SGIS
, GL_UNPACK_IMAGE_HEIGHT_EXT
, GL_UNPACK_LSB_FIRST
, GL_UNPACK_RESAMPLE_SGIX
, GL_UNPACK_ROW_LENGTH
, GL_UNPACK_SKIP_IMAGES_EXT
, GL_UNPACK_SKIP_PIXELS
, GL_UNPACK_SKIP_ROWS
, GL_UNPACK_SKIP_VOLUMES_SGIS
, GL_UNPACK_SUBSAMPLE_RATE_SGIX
, GL_UNPACK_SWAP_BYTES
, GL_VERTEX_ARRAY
, GL_VERTEX_ARRAY_COUNT_EXT
, GL_VERTEX_ARRAY_SIZE
, GL_VERTEX_ARRAY_STRIDE
, GL_VERTEX_ARRAY_TYPE
, GL_VERTEX_PRECLIP_HINT_SGIX
, GL_VERTEX_PRECLIP_SGIX
, GL_VIEWPORT
, GL_ZOOM_X
, GL_ZOOM_Y
.
The parameter data
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
The length of data
should be COMPSIZE(pname)
.
glGetBufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetBufferParameteriv
target pname params
The parameter target
is a BufferTargetARB
.
The parameter pname
is a BufferPNameARB
.
The length of params
should be COMPSIZE(pname)
.
glGetError :: MonadIO m => m GLenum Source #
Usage: glGetError
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetError.xhtml
glGetFloatv :: MonadIO m => GLenum -> Ptr GLfloat -> m () Source #
Usage: glGetFloatv
pname data
The parameter pname
is a GetPName
, one of: GL_ACCUM_ALPHA_BITS
, GL_ACCUM_BLUE_BITS
, GL_ACCUM_CLEAR_VALUE
, GL_ACCUM_GREEN_BITS
, GL_ACCUM_RED_BITS
, GL_ALIASED_LINE_WIDTH_RANGE
, GL_ALIASED_POINT_SIZE_RANGE
, GL_ALPHA_BIAS
, GL_ALPHA_BITS
, GL_ALPHA_SCALE
, GL_ALPHA_TEST
, GL_ALPHA_TEST_FUNC
, GL_ALPHA_TEST_FUNC_QCOM
, GL_ALPHA_TEST_QCOM
, GL_ALPHA_TEST_REF
, GL_ALPHA_TEST_REF_QCOM
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_MARKER_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_ATTRIB_STACK_DEPTH
, GL_AUTO_NORMAL
, GL_AUX_BUFFERS
, GL_BLEND
, GL_BLEND_COLOR_EXT
, GL_BLEND_DST
, GL_BLEND_EQUATION_EXT
, GL_BLEND_SRC
, GL_BLUE_BIAS
, GL_BLUE_BITS
, GL_BLUE_SCALE
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIENT_ATTRIB_STACK_DEPTH
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_ARRAY_COUNT_EXT
, GL_COLOR_ARRAY_SIZE
, GL_COLOR_ARRAY_STRIDE
, GL_COLOR_ARRAY_TYPE
, GL_COLOR_CLEAR_VALUE
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_MATERIAL_FACE
, GL_COLOR_MATERIAL_PARAMETER
, GL_COLOR_MATRIX_SGI
, GL_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_COLOR_TABLE_SGI
, GL_COLOR_WRITEMASK
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CONVOLUTION_HINT_SGIX
, GL_CULL_FACE
, GL_CULL_FACE_MODE
, GL_CURRENT_COLOR
, GL_CURRENT_INDEX
, GL_CURRENT_NORMAL
, GL_CURRENT_RASTER_COLOR
, GL_CURRENT_RASTER_DISTANCE
, GL_CURRENT_RASTER_INDEX
, GL_CURRENT_RASTER_POSITION
, GL_CURRENT_RASTER_POSITION_VALID
, GL_CURRENT_RASTER_TEXTURE_COORDS
, GL_CURRENT_TEXTURE_COORDS
, GL_DEFORMATIONS_MASK_SGIX
, GL_DEPTH_BIAS
, GL_DEPTH_BITS
, GL_DEPTH_CLEAR_VALUE
, GL_DEPTH_FUNC
, GL_DEPTH_RANGE
, GL_DEPTH_SCALE
, GL_DEPTH_TEST
, GL_DEPTH_WRITEMASK
, GL_DETAIL_TEXTURE_2D_BINDING_SGIS
, GL_DISTANCE_ATTENUATION_SGIS
, GL_DITHER
, GL_DOUBLEBUFFER
, GL_DRAW_BUFFER
, GL_DRAW_BUFFER_EXT
, GL_EDGE_FLAG
, GL_EDGE_FLAG_ARRAY
, GL_EDGE_FLAG_ARRAY_COUNT_EXT
, GL_EDGE_FLAG_ARRAY_STRIDE
, GL_FEEDBACK_BUFFER_SIZE
, GL_FEEDBACK_BUFFER_TYPE
, GL_FOG
, GL_FOG_COLOR
, GL_FOG_DENSITY
, GL_FOG_END
, GL_FOG_FUNC_POINTS_SGIS
, GL_FOG_HINT
, GL_FOG_INDEX
, GL_FOG_MODE
, GL_FOG_OFFSET_SGIX
, GL_FOG_OFFSET_VALUE_SGIX
, GL_FOG_START
, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
, GL_FRAMEZOOM_FACTOR_SGIX
, GL_FRAMEZOOM_SGIX
, GL_FRONT_FACE
, GL_GENERATE_MIPMAP_HINT_SGIS
, GL_GREEN_BIAS
, GL_GREEN_BITS
, GL_GREEN_SCALE
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_ARRAY_COUNT_EXT
, GL_INDEX_ARRAY_STRIDE
, GL_INDEX_ARRAY_TYPE
, GL_INDEX_BITS
, GL_INDEX_CLEAR_VALUE
, GL_INDEX_LOGIC_OP
, GL_INDEX_MODE
, GL_INDEX_OFFSET
, GL_INDEX_SHIFT
, GL_INDEX_WRITEMASK
, GL_INSTRUMENT_MEASUREMENTS_SGIX
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LIGHT_ENV_MODE_SGIX
, GL_LIGHT_MODEL_AMBIENT
, GL_LIGHT_MODEL_COLOR_CONTROL
, GL_LIGHT_MODEL_LOCAL_VIEWER
, GL_LIGHT_MODEL_TWO_SIDE
, GL_LINE_SMOOTH
, GL_LINE_SMOOTH_HINT
, GL_LINE_STIPPLE
, GL_LINE_STIPPLE_PATTERN
, GL_LINE_STIPPLE_REPEAT
, GL_LINE_WIDTH
, GL_LINE_WIDTH_GRANULARITY
, GL_LINE_WIDTH_RANGE
, GL_LIST_BASE
, GL_LIST_INDEX
, GL_LIST_MODE
, GL_LOGIC_OP
, GL_LOGIC_OP_MODE
, GL_MAP1_COLOR_4
, GL_MAP1_GRID_DOMAIN
, GL_MAP1_GRID_SEGMENTS
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_GRID_DOMAIN
, GL_MAP2_GRID_SEGMENTS
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MAP_COLOR
, GL_MAP_STENCIL
, GL_MATRIX_MODE
, GL_MAX_3D_TEXTURE_SIZE_EXT
, GL_MAX_4D_TEXTURE_SIZE_SGIS
, GL_MAX_ACTIVE_LIGHTS_SGIX
, GL_MAX_ASYNC_DRAW_PIXELS_SGIX
, GL_MAX_ASYNC_HISTOGRAM_SGIX
, GL_MAX_ASYNC_READ_PIXELS_SGIX
, GL_MAX_ASYNC_TEX_IMAGE_SGIX
, GL_MAX_ATTRIB_STACK_DEPTH
, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
, GL_MAX_CLIPMAP_DEPTH_SGIX
, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_MAX_CLIP_DISTANCES
, GL_MAX_CLIP_PLANES
, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_MAX_EVAL_ORDER
, GL_MAX_FOG_FUNC_POINTS_SGIS
, GL_MAX_FRAGMENT_LIGHTS_SGIX
, GL_MAX_FRAMEZOOM_FACTOR_SGIX
, GL_MAX_LIGHTS
, GL_MAX_LIST_NESTING
, GL_MAX_MODELVIEW_STACK_DEPTH
, GL_MAX_NAME_STACK_DEPTH
, GL_MAX_PIXEL_MAP_TABLE
, GL_MAX_PROJECTION_STACK_DEPTH
, GL_MAX_TEXTURE_SIZE
, GL_MAX_TEXTURE_STACK_DEPTH
, GL_MAX_VIEWPORT_DIMS
, GL_MINMAX_EXT
, GL_MODELVIEW0_MATRIX_EXT
, GL_MODELVIEW0_STACK_DEPTH_EXT
, GL_MODELVIEW_MATRIX
, GL_MODELVIEW_STACK_DEPTH
, GL_MULTISAMPLE_SGIS
, GL_NAME_STACK_DEPTH
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_NORMAL_ARRAY_COUNT_EXT
, GL_NORMAL_ARRAY_STRIDE
, GL_NORMAL_ARRAY_TYPE
, GL_PACK_ALIGNMENT
, GL_PACK_CMYK_HINT_EXT
, GL_PACK_IMAGE_DEPTH_SGIS
, GL_PACK_IMAGE_HEIGHT_EXT
, GL_PACK_LSB_FIRST
, GL_PACK_RESAMPLE_SGIX
, GL_PACK_ROW_LENGTH
, GL_PACK_SKIP_IMAGES_EXT
, GL_PACK_SKIP_PIXELS
, GL_PACK_SKIP_ROWS
, GL_PACK_SKIP_VOLUMES_SGIS
, GL_PACK_SUBSAMPLE_RATE_SGIX
, GL_PACK_SWAP_BYTES
, GL_PERSPECTIVE_CORRECTION_HINT
, GL_PIXEL_MAP_A_TO_A_SIZE
, GL_PIXEL_MAP_B_TO_B_SIZE
, GL_PIXEL_MAP_G_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_A_SIZE
, GL_PIXEL_MAP_I_TO_B_SIZE
, GL_PIXEL_MAP_I_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_I_SIZE
, GL_PIXEL_MAP_I_TO_R_SIZE
, GL_PIXEL_MAP_R_TO_R_SIZE
, GL_PIXEL_MAP_S_TO_S_SIZE
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_MODE_SGIX
, GL_PIXEL_TEX_GEN_SGIX
, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX
, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX
, GL_PIXEL_TILE_CACHE_SIZE_SGIX
, GL_PIXEL_TILE_GRID_DEPTH_SGIX
, GL_PIXEL_TILE_GRID_HEIGHT_SGIX
, GL_PIXEL_TILE_GRID_WIDTH_SGIX
, GL_PIXEL_TILE_HEIGHT_SGIX
, GL_PIXEL_TILE_WIDTH_SGIX
, GL_POINT_FADE_THRESHOLD_SIZE_SGIS
, GL_POINT_SIZE
, GL_POINT_SIZE_GRANULARITY
, GL_POINT_SIZE_MAX_SGIS
, GL_POINT_SIZE_MIN_SGIS
, GL_POINT_SIZE_RANGE
, GL_POINT_SMOOTH
, GL_POINT_SMOOTH_HINT
, GL_POLYGON_MODE
, GL_POLYGON_OFFSET_BIAS_EXT
, GL_POLYGON_OFFSET_FACTOR
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_OFFSET_UNITS
, GL_POLYGON_SMOOTH
, GL_POLYGON_SMOOTH_HINT
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
, GL_POST_COLOR_MATRIX_RED_BIAS_SGI
, GL_POST_COLOR_MATRIX_RED_SCALE_SGI
, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
, GL_POST_CONVOLUTION_BLUE_BIAS_EXT
, GL_POST_CONVOLUTION_BLUE_SCALE_EXT
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_GREEN_BIAS_EXT
, GL_POST_CONVOLUTION_GREEN_SCALE_EXT
, GL_POST_CONVOLUTION_RED_BIAS_EXT
, GL_POST_CONVOLUTION_RED_SCALE_EXT
, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX
, GL_PROJECTION_MATRIX
, GL_PROJECTION_STACK_DEPTH
, GL_READ_BUFFER
, GL_READ_BUFFER_EXT
, GL_READ_BUFFER_NV
, GL_RED_BIAS
, GL_RED_BITS
, GL_RED_SCALE
, GL_REFERENCE_PLANE_EQUATION_SGIX
, GL_REFERENCE_PLANE_SGIX
, GL_RENDER_MODE
, GL_RESCALE_NORMAL_EXT
, GL_RGBA_MODE
, GL_SAMPLES_SGIS
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_BUFFERS_SGIS
, GL_SAMPLE_MASK_INVERT_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SAMPLE_MASK_VALUE_SGIS
, GL_SAMPLE_PATTERN_SGIS
, GL_SCISSOR_BOX
, GL_SCISSOR_TEST
, GL_SELECTION_BUFFER_SIZE
, GL_SEPARABLE_2D_EXT
, GL_SHADE_MODEL
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SMOOTH_LINE_WIDTH_GRANULARITY
, GL_SMOOTH_LINE_WIDTH_RANGE
, GL_SMOOTH_POINT_SIZE_GRANULARITY
, GL_SMOOTH_POINT_SIZE_RANGE
, GL_SPRITE_AXIS_SGIX
, GL_SPRITE_MODE_SGIX
, GL_SPRITE_SGIX
, GL_SPRITE_TRANSLATION_SGIX
, GL_STENCIL_BITS
, GL_STENCIL_CLEAR_VALUE
, GL_STENCIL_FAIL
, GL_STENCIL_FUNC
, GL_STENCIL_PASS_DEPTH_FAIL
, GL_STENCIL_PASS_DEPTH_PASS
, GL_STENCIL_REF
, GL_STENCIL_TEST
, GL_STENCIL_VALUE_MASK
, GL_STENCIL_WRITEMASK
, GL_STEREO
, GL_SUBPIXEL_BITS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_BINDING_EXT
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_BINDING_SGIS
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BINDING_1D
, GL_TEXTURE_BINDING_2D
, GL_TEXTURE_BINDING_3D
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_COORD_ARRAY_COUNT_EXT
, GL_TEXTURE_COORD_ARRAY_SIZE
, GL_TEXTURE_COORD_ARRAY_STRIDE
, GL_TEXTURE_COORD_ARRAY_TYPE
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_TEXTURE_MATRIX
, GL_TEXTURE_STACK_DEPTH
, GL_UNPACK_ALIGNMENT
, GL_UNPACK_CMYK_HINT_EXT
, GL_UNPACK_IMAGE_DEPTH_SGIS
, GL_UNPACK_IMAGE_HEIGHT_EXT
, GL_UNPACK_LSB_FIRST
, GL_UNPACK_RESAMPLE_SGIX
, GL_UNPACK_ROW_LENGTH
, GL_UNPACK_SKIP_IMAGES_EXT
, GL_UNPACK_SKIP_PIXELS
, GL_UNPACK_SKIP_ROWS
, GL_UNPACK_SKIP_VOLUMES_SGIS
, GL_UNPACK_SUBSAMPLE_RATE_SGIX
, GL_UNPACK_SWAP_BYTES
, GL_VERTEX_ARRAY
, GL_VERTEX_ARRAY_COUNT_EXT
, GL_VERTEX_ARRAY_SIZE
, GL_VERTEX_ARRAY_STRIDE
, GL_VERTEX_ARRAY_TYPE
, GL_VERTEX_PRECLIP_HINT_SGIX
, GL_VERTEX_PRECLIP_SGIX
, GL_VIEWPORT
, GL_ZOOM_X
, GL_ZOOM_Y
.
The length of data
should be COMPSIZE(pname)
.
glGetFramebufferAttachmentParameteriv :: MonadIO m => GLenum -> GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetFramebufferAttachmentParameteriv
target attachment pname params
The parameter target
is a FramebufferTarget
.
The parameter attachment
is a FramebufferAttachment
.
The length of params
should be COMPSIZE(pname)
.
glGetIntegerv :: MonadIO m => GLenum -> Ptr GLint -> m () Source #
Usage: glGetIntegerv
pname data
The parameter pname
is a GetPName
, one of: GL_ACCUM_ALPHA_BITS
, GL_ACCUM_BLUE_BITS
, GL_ACCUM_CLEAR_VALUE
, GL_ACCUM_GREEN_BITS
, GL_ACCUM_RED_BITS
, GL_ALIASED_LINE_WIDTH_RANGE
, GL_ALIASED_POINT_SIZE_RANGE
, GL_ALPHA_BIAS
, GL_ALPHA_BITS
, GL_ALPHA_SCALE
, GL_ALPHA_TEST
, GL_ALPHA_TEST_FUNC
, GL_ALPHA_TEST_FUNC_QCOM
, GL_ALPHA_TEST_QCOM
, GL_ALPHA_TEST_REF
, GL_ALPHA_TEST_REF_QCOM
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_MARKER_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_ATTRIB_STACK_DEPTH
, GL_AUTO_NORMAL
, GL_AUX_BUFFERS
, GL_BLEND
, GL_BLEND_COLOR_EXT
, GL_BLEND_DST
, GL_BLEND_EQUATION_EXT
, GL_BLEND_SRC
, GL_BLUE_BIAS
, GL_BLUE_BITS
, GL_BLUE_SCALE
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIENT_ATTRIB_STACK_DEPTH
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_ARRAY_COUNT_EXT
, GL_COLOR_ARRAY_SIZE
, GL_COLOR_ARRAY_STRIDE
, GL_COLOR_ARRAY_TYPE
, GL_COLOR_CLEAR_VALUE
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_MATERIAL_FACE
, GL_COLOR_MATERIAL_PARAMETER
, GL_COLOR_MATRIX_SGI
, GL_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_COLOR_TABLE_SGI
, GL_COLOR_WRITEMASK
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CONVOLUTION_HINT_SGIX
, GL_CULL_FACE
, GL_CULL_FACE_MODE
, GL_CURRENT_COLOR
, GL_CURRENT_INDEX
, GL_CURRENT_NORMAL
, GL_CURRENT_RASTER_COLOR
, GL_CURRENT_RASTER_DISTANCE
, GL_CURRENT_RASTER_INDEX
, GL_CURRENT_RASTER_POSITION
, GL_CURRENT_RASTER_POSITION_VALID
, GL_CURRENT_RASTER_TEXTURE_COORDS
, GL_CURRENT_TEXTURE_COORDS
, GL_DEFORMATIONS_MASK_SGIX
, GL_DEPTH_BIAS
, GL_DEPTH_BITS
, GL_DEPTH_CLEAR_VALUE
, GL_DEPTH_FUNC
, GL_DEPTH_RANGE
, GL_DEPTH_SCALE
, GL_DEPTH_TEST
, GL_DEPTH_WRITEMASK
, GL_DETAIL_TEXTURE_2D_BINDING_SGIS
, GL_DISTANCE_ATTENUATION_SGIS
, GL_DITHER
, GL_DOUBLEBUFFER
, GL_DRAW_BUFFER
, GL_DRAW_BUFFER_EXT
, GL_EDGE_FLAG
, GL_EDGE_FLAG_ARRAY
, GL_EDGE_FLAG_ARRAY_COUNT_EXT
, GL_EDGE_FLAG_ARRAY_STRIDE
, GL_FEEDBACK_BUFFER_SIZE
, GL_FEEDBACK_BUFFER_TYPE
, GL_FOG
, GL_FOG_COLOR
, GL_FOG_DENSITY
, GL_FOG_END
, GL_FOG_FUNC_POINTS_SGIS
, GL_FOG_HINT
, GL_FOG_INDEX
, GL_FOG_MODE
, GL_FOG_OFFSET_SGIX
, GL_FOG_OFFSET_VALUE_SGIX
, GL_FOG_START
, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
, GL_FRAMEZOOM_FACTOR_SGIX
, GL_FRAMEZOOM_SGIX
, GL_FRONT_FACE
, GL_GENERATE_MIPMAP_HINT_SGIS
, GL_GREEN_BIAS
, GL_GREEN_BITS
, GL_GREEN_SCALE
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_ARRAY_COUNT_EXT
, GL_INDEX_ARRAY_STRIDE
, GL_INDEX_ARRAY_TYPE
, GL_INDEX_BITS
, GL_INDEX_CLEAR_VALUE
, GL_INDEX_LOGIC_OP
, GL_INDEX_MODE
, GL_INDEX_OFFSET
, GL_INDEX_SHIFT
, GL_INDEX_WRITEMASK
, GL_INSTRUMENT_MEASUREMENTS_SGIX
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LIGHT_ENV_MODE_SGIX
, GL_LIGHT_MODEL_AMBIENT
, GL_LIGHT_MODEL_COLOR_CONTROL
, GL_LIGHT_MODEL_LOCAL_VIEWER
, GL_LIGHT_MODEL_TWO_SIDE
, GL_LINE_SMOOTH
, GL_LINE_SMOOTH_HINT
, GL_LINE_STIPPLE
, GL_LINE_STIPPLE_PATTERN
, GL_LINE_STIPPLE_REPEAT
, GL_LINE_WIDTH
, GL_LINE_WIDTH_GRANULARITY
, GL_LINE_WIDTH_RANGE
, GL_LIST_BASE
, GL_LIST_INDEX
, GL_LIST_MODE
, GL_LOGIC_OP
, GL_LOGIC_OP_MODE
, GL_MAP1_COLOR_4
, GL_MAP1_GRID_DOMAIN
, GL_MAP1_GRID_SEGMENTS
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_GRID_DOMAIN
, GL_MAP2_GRID_SEGMENTS
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MAP_COLOR
, GL_MAP_STENCIL
, GL_MATRIX_MODE
, GL_MAX_3D_TEXTURE_SIZE_EXT
, GL_MAX_4D_TEXTURE_SIZE_SGIS
, GL_MAX_ACTIVE_LIGHTS_SGIX
, GL_MAX_ASYNC_DRAW_PIXELS_SGIX
, GL_MAX_ASYNC_HISTOGRAM_SGIX
, GL_MAX_ASYNC_READ_PIXELS_SGIX
, GL_MAX_ASYNC_TEX_IMAGE_SGIX
, GL_MAX_ATTRIB_STACK_DEPTH
, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
, GL_MAX_CLIPMAP_DEPTH_SGIX
, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_MAX_CLIP_DISTANCES
, GL_MAX_CLIP_PLANES
, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
, GL_MAX_EVAL_ORDER
, GL_MAX_FOG_FUNC_POINTS_SGIS
, GL_MAX_FRAGMENT_LIGHTS_SGIX
, GL_MAX_FRAMEZOOM_FACTOR_SGIX
, GL_MAX_LIGHTS
, GL_MAX_LIST_NESTING
, GL_MAX_MODELVIEW_STACK_DEPTH
, GL_MAX_NAME_STACK_DEPTH
, GL_MAX_PIXEL_MAP_TABLE
, GL_MAX_PROJECTION_STACK_DEPTH
, GL_MAX_TEXTURE_SIZE
, GL_MAX_TEXTURE_STACK_DEPTH
, GL_MAX_VIEWPORT_DIMS
, GL_MINMAX_EXT
, GL_MODELVIEW0_MATRIX_EXT
, GL_MODELVIEW0_STACK_DEPTH_EXT
, GL_MODELVIEW_MATRIX
, GL_MODELVIEW_STACK_DEPTH
, GL_MULTISAMPLE_SGIS
, GL_NAME_STACK_DEPTH
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_NORMAL_ARRAY_COUNT_EXT
, GL_NORMAL_ARRAY_STRIDE
, GL_NORMAL_ARRAY_TYPE
, GL_PACK_ALIGNMENT
, GL_PACK_CMYK_HINT_EXT
, GL_PACK_IMAGE_DEPTH_SGIS
, GL_PACK_IMAGE_HEIGHT_EXT
, GL_PACK_LSB_FIRST
, GL_PACK_RESAMPLE_SGIX
, GL_PACK_ROW_LENGTH
, GL_PACK_SKIP_IMAGES_EXT
, GL_PACK_SKIP_PIXELS
, GL_PACK_SKIP_ROWS
, GL_PACK_SKIP_VOLUMES_SGIS
, GL_PACK_SUBSAMPLE_RATE_SGIX
, GL_PACK_SWAP_BYTES
, GL_PERSPECTIVE_CORRECTION_HINT
, GL_PIXEL_MAP_A_TO_A_SIZE
, GL_PIXEL_MAP_B_TO_B_SIZE
, GL_PIXEL_MAP_G_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_A_SIZE
, GL_PIXEL_MAP_I_TO_B_SIZE
, GL_PIXEL_MAP_I_TO_G_SIZE
, GL_PIXEL_MAP_I_TO_I_SIZE
, GL_PIXEL_MAP_I_TO_R_SIZE
, GL_PIXEL_MAP_R_TO_R_SIZE
, GL_PIXEL_MAP_S_TO_S_SIZE
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_MODE_SGIX
, GL_PIXEL_TEX_GEN_SGIX
, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX
, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX
, GL_PIXEL_TILE_CACHE_SIZE_SGIX
, GL_PIXEL_TILE_GRID_DEPTH_SGIX
, GL_PIXEL_TILE_GRID_HEIGHT_SGIX
, GL_PIXEL_TILE_GRID_WIDTH_SGIX
, GL_PIXEL_TILE_HEIGHT_SGIX
, GL_PIXEL_TILE_WIDTH_SGIX
, GL_POINT_FADE_THRESHOLD_SIZE_SGIS
, GL_POINT_SIZE
, GL_POINT_SIZE_GRANULARITY
, GL_POINT_SIZE_MAX_SGIS
, GL_POINT_SIZE_MIN_SGIS
, GL_POINT_SIZE_RANGE
, GL_POINT_SMOOTH
, GL_POINT_SMOOTH_HINT
, GL_POLYGON_MODE
, GL_POLYGON_OFFSET_BIAS_EXT
, GL_POLYGON_OFFSET_FACTOR
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_OFFSET_UNITS
, GL_POLYGON_SMOOTH
, GL_POLYGON_SMOOTH_HINT
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
, GL_POST_COLOR_MATRIX_RED_BIAS_SGI
, GL_POST_COLOR_MATRIX_RED_SCALE_SGI
, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
, GL_POST_CONVOLUTION_BLUE_BIAS_EXT
, GL_POST_CONVOLUTION_BLUE_SCALE_EXT
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_GREEN_BIAS_EXT
, GL_POST_CONVOLUTION_GREEN_SCALE_EXT
, GL_POST_CONVOLUTION_RED_BIAS_EXT
, GL_POST_CONVOLUTION_RED_SCALE_EXT
, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX
, GL_PROJECTION_MATRIX
, GL_PROJECTION_STACK_DEPTH
, GL_READ_BUFFER
, GL_READ_BUFFER_EXT
, GL_READ_BUFFER_NV
, GL_RED_BIAS
, GL_RED_BITS
, GL_RED_SCALE
, GL_REFERENCE_PLANE_EQUATION_SGIX
, GL_REFERENCE_PLANE_SGIX
, GL_RENDER_MODE
, GL_RESCALE_NORMAL_EXT
, GL_RGBA_MODE
, GL_SAMPLES_SGIS
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_BUFFERS_SGIS
, GL_SAMPLE_MASK_INVERT_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SAMPLE_MASK_VALUE_SGIS
, GL_SAMPLE_PATTERN_SGIS
, GL_SCISSOR_BOX
, GL_SCISSOR_TEST
, GL_SELECTION_BUFFER_SIZE
, GL_SEPARABLE_2D_EXT
, GL_SHADE_MODEL
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SMOOTH_LINE_WIDTH_GRANULARITY
, GL_SMOOTH_LINE_WIDTH_RANGE
, GL_SMOOTH_POINT_SIZE_GRANULARITY
, GL_SMOOTH_POINT_SIZE_RANGE
, GL_SPRITE_AXIS_SGIX
, GL_SPRITE_MODE_SGIX
, GL_SPRITE_SGIX
, GL_SPRITE_TRANSLATION_SGIX
, GL_STENCIL_BITS
, GL_STENCIL_CLEAR_VALUE
, GL_STENCIL_FAIL
, GL_STENCIL_FUNC
, GL_STENCIL_PASS_DEPTH_FAIL
, GL_STENCIL_PASS_DEPTH_PASS
, GL_STENCIL_REF
, GL_STENCIL_TEST
, GL_STENCIL_VALUE_MASK
, GL_STENCIL_WRITEMASK
, GL_STEREO
, GL_SUBPIXEL_BITS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_BINDING_EXT
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_BINDING_SGIS
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BINDING_1D
, GL_TEXTURE_BINDING_2D
, GL_TEXTURE_BINDING_3D
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_COORD_ARRAY_COUNT_EXT
, GL_TEXTURE_COORD_ARRAY_SIZE
, GL_TEXTURE_COORD_ARRAY_STRIDE
, GL_TEXTURE_COORD_ARRAY_TYPE
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_TEXTURE_MATRIX
, GL_TEXTURE_STACK_DEPTH
, GL_UNPACK_ALIGNMENT
, GL_UNPACK_CMYK_HINT_EXT
, GL_UNPACK_IMAGE_DEPTH_SGIS
, GL_UNPACK_IMAGE_HEIGHT_EXT
, GL_UNPACK_LSB_FIRST
, GL_UNPACK_RESAMPLE_SGIX
, GL_UNPACK_ROW_LENGTH
, GL_UNPACK_SKIP_IMAGES_EXT
, GL_UNPACK_SKIP_PIXELS
, GL_UNPACK_SKIP_ROWS
, GL_UNPACK_SKIP_VOLUMES_SGIS
, GL_UNPACK_SUBSAMPLE_RATE_SGIX
, GL_UNPACK_SWAP_BYTES
, GL_VERTEX_ARRAY
, GL_VERTEX_ARRAY_COUNT_EXT
, GL_VERTEX_ARRAY_SIZE
, GL_VERTEX_ARRAY_STRIDE
, GL_VERTEX_ARRAY_TYPE
, GL_VERTEX_PRECLIP_HINT_SGIX
, GL_VERTEX_PRECLIP_SGIX
, GL_VIEWPORT
, GL_ZOOM_X
, GL_ZOOM_Y
.
The length of data
should be COMPSIZE(pname)
.
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)
.
glGetRenderbufferParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetRenderbufferParameteriv
target pname params
The parameter target
is a RenderbufferTarget
.
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
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
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)
.
glGetString :: MonadIO m => GLenum -> m (Ptr GLubyte) Source #
Usage: glGetString
name
The parameter name
is a StringName
, one of: GL_EXTENSIONS
, GL_RENDERER
, GL_VENDOR
, GL_VERSION
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetString.xhtml
glGetTexParameterfv :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #
Usage: glGetTexParameterfv
target pname params
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a GetTextureParameter
, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS
, GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS
, GL_TEXTURE_4DSIZE_SGIS
, GL_TEXTURE_ALPHA_SIZE
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_BLUE_SIZE
, GL_TEXTURE_BORDER
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_BORDER_COLOR_NV
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_OPERATOR_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_COMPONENTS
, GL_TEXTURE_DEPTH_EXT
, GL_TEXTURE_FILTER4_SIZE_SGIS
, GL_TEXTURE_GEQUAL_R_SGIX
, GL_TEXTURE_GREEN_SIZE
, GL_TEXTURE_HEIGHT
, GL_TEXTURE_INTENSITY_SIZE
, GL_TEXTURE_INTERNAL_FORMAT
, GL_TEXTURE_LEQUAL_R_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_LUMINANCE_SIZE
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_MIN_LOD_SGIS
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_RED_SIZE
, GL_TEXTURE_RESIDENT
, GL_TEXTURE_WIDTH
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
The length of params
should be COMPSIZE(pname)
.
glGetTexParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetTexParameteriv
target pname params
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a GetTextureParameter
, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS
, GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS
, GL_TEXTURE_4DSIZE_SGIS
, GL_TEXTURE_ALPHA_SIZE
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_BLUE_SIZE
, GL_TEXTURE_BORDER
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_BORDER_COLOR_NV
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_OPERATOR_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_COMPONENTS
, GL_TEXTURE_DEPTH_EXT
, GL_TEXTURE_FILTER4_SIZE_SGIS
, GL_TEXTURE_GEQUAL_R_SGIX
, GL_TEXTURE_GREEN_SIZE
, GL_TEXTURE_HEIGHT
, GL_TEXTURE_INTENSITY_SIZE
, GL_TEXTURE_INTERNAL_FORMAT
, GL_TEXTURE_LEQUAL_R_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_LUMINANCE_SIZE
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_MIN_LOD_SGIS
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_RED_SIZE
, GL_TEXTURE_RESIDENT
, GL_TEXTURE_WIDTH
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
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
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
.
glHint :: MonadIO m => GLenum -> GLenum -> m () Source #
Usage: glHint
target mode
The parameter target
is a HintTarget
, one of: GL_ALLOW_DRAW_FRG_HINT_PGI
, GL_ALLOW_DRAW_MEM_HINT_PGI
, GL_ALLOW_DRAW_OBJ_HINT_PGI
, GL_ALLOW_DRAW_WIN_HINT_PGI
, GL_ALWAYS_FAST_HINT_PGI
, GL_ALWAYS_SOFT_HINT_PGI
, GL_BACK_NORMALS_HINT_PGI
, GL_BINNING_CONTROL_HINT_QCOM
, GL_CLIP_FAR_HINT_PGI
, GL_CLIP_NEAR_HINT_PGI
, GL_CLIP_VOLUME_CLIPPING_HINT_EXT
, GL_CONSERVE_MEMORY_HINT_PGI
, GL_CONVOLUTION_HINT_SGIX
, GL_FOG_HINT
, GL_FRAGMENT_SHADER_DERIVATIVE_HINT
, GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB
, GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
, GL_FULL_STIPPLE_HINT_PGI
, GL_GENERATE_MIPMAP_HINT
, GL_GENERATE_MIPMAP_HINT_SGIS
, GL_LINE_QUALITY_HINT_SGIX
, GL_LINE_SMOOTH_HINT
, GL_MATERIAL_SIDE_HINT_PGI
, GL_MAX_VERTEX_HINT_PGI
, GL_MULTISAMPLE_FILTER_HINT_NV
, GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI
, GL_NATIVE_GRAPHICS_END_HINT_PGI
, GL_PACK_CMYK_HINT_EXT
, GL_PERSPECTIVE_CORRECTION_HINT
, GL_PHONG_HINT_WIN
, GL_POINT_SMOOTH_HINT
, GL_POLYGON_SMOOTH_HINT
, GL_PREFER_DOUBLEBUFFER_HINT_PGI
, GL_PROGRAM_BINARY_RETRIEVABLE_HINT
, GL_RECLAIM_MEMORY_HINT_PGI
, GL_SCALEBIAS_HINT_SGIX
, GL_STRICT_DEPTHFUNC_HINT_PGI
, GL_STRICT_LIGHTING_HINT_PGI
, GL_STRICT_SCISSOR_HINT_PGI
, GL_TEXTURE_COMPRESSION_HINT
, GL_TEXTURE_COMPRESSION_HINT_ARB
, GL_TEXTURE_MULTI_BUFFER_HINT_SGIX
, GL_TEXTURE_STORAGE_HINT_APPLE
, GL_TRANSFORM_HINT_APPLE
, GL_UNPACK_CMYK_HINT_EXT
, GL_VERTEX_ARRAY_STORAGE_HINT_APPLE
, GL_VERTEX_CONSISTENT_HINT_PGI
, GL_VERTEX_DATA_HINT_PGI
, GL_VERTEX_PRECLIP_HINT_SGIX
, GL_VERTEX_PRECLIP_SGIX
, GL_WIDE_LINE_HINT_PGI
.
The parameter mode
is a HintMode
, one of: GL_DONT_CARE
, GL_FASTEST
, GL_NICEST
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glHint.xhtml
glIsBuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsBuffer
buffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsBuffer.xhtml
glIsEnabled :: MonadIO m => GLenum -> m GLboolean Source #
Usage: glIsEnabled
cap
The parameter cap
is a EnableCap
, one of: GL_ALPHA_TEST
, GL_ASYNC_DRAW_PIXELS_SGIX
, GL_ASYNC_HISTOGRAM_SGIX
, GL_ASYNC_READ_PIXELS_SGIX
, GL_ASYNC_TEX_IMAGE_SGIX
, GL_AUTO_NORMAL
, GL_BLEND
, GL_CALLIGRAPHIC_FRAGMENT_SGIX
, GL_CLIP_PLANE0
, GL_CLIP_PLANE1
, GL_CLIP_PLANE2
, GL_CLIP_PLANE3
, GL_CLIP_PLANE4
, GL_CLIP_PLANE5
, GL_COLOR_ARRAY
, GL_COLOR_LOGIC_OP
, GL_COLOR_MATERIAL
, GL_COLOR_TABLE_SGI
, GL_CONVOLUTION_1D_EXT
, GL_CONVOLUTION_2D_EXT
, GL_CULL_FACE
, GL_DEPTH_TEST
, GL_DITHER
, GL_EDGE_FLAG_ARRAY
, GL_FOG
, GL_FOG_OFFSET_SGIX
, GL_FRAGMENT_COLOR_MATERIAL_SGIX
, GL_FRAGMENT_LIGHT0_SGIX
, GL_FRAGMENT_LIGHT1_SGIX
, GL_FRAGMENT_LIGHT2_SGIX
, GL_FRAGMENT_LIGHT3_SGIX
, GL_FRAGMENT_LIGHT4_SGIX
, GL_FRAGMENT_LIGHT5_SGIX
, GL_FRAGMENT_LIGHT6_SGIX
, GL_FRAGMENT_LIGHT7_SGIX
, GL_FRAGMENT_LIGHTING_SGIX
, GL_FRAMEZOOM_SGIX
, GL_HISTOGRAM_EXT
, GL_INDEX_ARRAY
, GL_INDEX_LOGIC_OP
, GL_INTERLACE_SGIX
, GL_IR_INSTRUMENT1_SGIX
, GL_LIGHT0
, GL_LIGHT1
, GL_LIGHT2
, GL_LIGHT3
, GL_LIGHT4
, GL_LIGHT5
, GL_LIGHT6
, GL_LIGHT7
, GL_LIGHTING
, GL_LINE_SMOOTH
, GL_LINE_STIPPLE
, GL_MAP1_COLOR_4
, GL_MAP1_INDEX
, GL_MAP1_NORMAL
, GL_MAP1_TEXTURE_COORD_1
, GL_MAP1_TEXTURE_COORD_2
, GL_MAP1_TEXTURE_COORD_3
, GL_MAP1_TEXTURE_COORD_4
, GL_MAP1_VERTEX_3
, GL_MAP1_VERTEX_4
, GL_MAP2_COLOR_4
, GL_MAP2_INDEX
, GL_MAP2_NORMAL
, GL_MAP2_TEXTURE_COORD_1
, GL_MAP2_TEXTURE_COORD_2
, GL_MAP2_TEXTURE_COORD_3
, GL_MAP2_TEXTURE_COORD_4
, GL_MAP2_VERTEX_3
, GL_MAP2_VERTEX_4
, GL_MINMAX_EXT
, GL_MULTISAMPLE_SGIS
, GL_NORMALIZE
, GL_NORMAL_ARRAY
, GL_PIXEL_TEXTURE_SGIS
, GL_PIXEL_TEX_GEN_SGIX
, GL_POINT_SMOOTH
, GL_POLYGON_OFFSET_FILL
, GL_POLYGON_OFFSET_LINE
, GL_POLYGON_OFFSET_POINT
, GL_POLYGON_SMOOTH
, GL_POLYGON_STIPPLE
, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
, GL_POST_CONVOLUTION_COLOR_TABLE_SGI
, GL_REFERENCE_PLANE_SGIX
, GL_RESCALE_NORMAL_EXT
, GL_SAMPLE_ALPHA_TO_MASK_SGIS
, GL_SAMPLE_ALPHA_TO_ONE_SGIS
, GL_SAMPLE_MASK_SGIS
, GL_SCISSOR_TEST
, GL_SEPARABLE_2D_EXT
, GL_SHARED_TEXTURE_PALETTE_EXT
, GL_SPRITE_SGIX
, GL_STENCIL_TEST
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_COLOR_TABLE_SGI
, GL_TEXTURE_COORD_ARRAY
, GL_TEXTURE_GEN_Q
, GL_TEXTURE_GEN_R
, GL_TEXTURE_GEN_S
, GL_TEXTURE_GEN_T
, GL_VERTEX_ARRAY
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsEnabled.xhtml
glIsFramebuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsFramebuffer
framebuffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsFramebuffer.xhtml
glIsProgram :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsProgram.xhtml
glIsRenderbuffer :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsRenderbuffer
renderbuffer
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsRenderbuffer.xhtml
glIsShader :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsShader
shader
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsShader.xhtml
glIsTexture :: MonadIO m => GLuint -> m GLboolean Source #
Usage: glIsTexture
texture
The parameter texture
is a Texture
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glIsTexture.xhtml
glLineWidth :: MonadIO m => GLfloat -> m () Source #
Usage: glLineWidth
width
The parameter width
is a CheckedFloat32
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glLineWidth.xhtml
glLinkProgram :: MonadIO m => GLuint -> m () Source #
Usage: glLinkProgram
program
Manual page: https://www.opengl.org/sdk/docs/man/html/glLinkProgram.xhtml
glPixelStorei :: MonadIO m => GLenum -> GLint -> m () Source #
Usage: glPixelStorei
pname param
The parameter pname
is a PixelStoreParameter
, one of: GL_PACK_ALIGNMENT
, GL_PACK_IMAGE_DEPTH_SGIS
, GL_PACK_IMAGE_HEIGHT
, GL_PACK_IMAGE_HEIGHT_EXT
, GL_PACK_LSB_FIRST
, GL_PACK_RESAMPLE_OML
, GL_PACK_RESAMPLE_SGIX
, GL_PACK_ROW_LENGTH
, GL_PACK_SKIP_IMAGES
, GL_PACK_SKIP_IMAGES_EXT
, GL_PACK_SKIP_PIXELS
, GL_PACK_SKIP_ROWS
, GL_PACK_SKIP_VOLUMES_SGIS
, GL_PACK_SUBSAMPLE_RATE_SGIX
, GL_PACK_SWAP_BYTES
, GL_PIXEL_TILE_CACHE_SIZE_SGIX
, GL_PIXEL_TILE_GRID_DEPTH_SGIX
, GL_PIXEL_TILE_GRID_HEIGHT_SGIX
, GL_PIXEL_TILE_GRID_WIDTH_SGIX
, GL_PIXEL_TILE_HEIGHT_SGIX
, GL_PIXEL_TILE_WIDTH_SGIX
, GL_UNPACK_ALIGNMENT
, GL_UNPACK_IMAGE_DEPTH_SGIS
, GL_UNPACK_IMAGE_HEIGHT
, GL_UNPACK_IMAGE_HEIGHT_EXT
, GL_UNPACK_LSB_FIRST
, GL_UNPACK_RESAMPLE_OML
, GL_UNPACK_RESAMPLE_SGIX
, GL_UNPACK_ROW_LENGTH
, GL_UNPACK_ROW_LENGTH_EXT
, GL_UNPACK_SKIP_IMAGES
, GL_UNPACK_SKIP_IMAGES_EXT
, GL_UNPACK_SKIP_PIXELS
, GL_UNPACK_SKIP_PIXELS_EXT
, GL_UNPACK_SKIP_ROWS
, GL_UNPACK_SKIP_ROWS_EXT
, GL_UNPACK_SKIP_VOLUMES_SGIS
, GL_UNPACK_SUBSAMPLE_RATE_SGIX
, GL_UNPACK_SWAP_BYTES
.
The parameter param
is a CheckedInt32
.
glPolygonOffset :: MonadIO m => GLfloat -> GLfloat -> m () Source #
Usage: glPolygonOffset
factor units
Manual page: https://www.opengl.org/sdk/docs/man/html/glPolygonOffset.xhtml
glReadPixels :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glReadPixels
x y width height format type pixels
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
The parameter format
is a PixelFormat
, one of: GL_ABGR_EXT
, GL_ALPHA
, GL_BLUE
, GL_CMYKA_EXT
, GL_CMYK_EXT
, GL_COLOR_INDEX
, GL_DEPTH_COMPONENT
, GL_GREEN
, GL_LUMINANCE
, GL_LUMINANCE_ALPHA
, GL_RED
, GL_RED_EXT
, GL_RGB
, GL_RGBA
, GL_STENCIL_INDEX
, GL_UNSIGNED_INT
, GL_UNSIGNED_SHORT
, GL_YCRCB_422_SGIX
, GL_YCRCB_444_SGIX
.
The parameter type
is a PixelType
, one of: GL_BITMAP
, GL_BYTE
, GL_FLOAT
, GL_INT
, GL_SHORT
, GL_UNSIGNED_BYTE
, GL_UNSIGNED_BYTE_3_3_2
, GL_UNSIGNED_BYTE_3_3_2_EXT
, GL_UNSIGNED_INT
, GL_UNSIGNED_INT_10_10_10_2
, GL_UNSIGNED_INT_10_10_10_2_EXT
, GL_UNSIGNED_INT_8_8_8_8
, GL_UNSIGNED_INT_8_8_8_8_EXT
, GL_UNSIGNED_SHORT
, GL_UNSIGNED_SHORT_4_4_4_4
, GL_UNSIGNED_SHORT_4_4_4_4_EXT
, GL_UNSIGNED_SHORT_5_5_5_1
, GL_UNSIGNED_SHORT_5_5_5_1_EXT
.
The length of pixels
should be COMPSIZE(format,type,width,height)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glReadPixels.xhtml
glReleaseShaderCompiler :: MonadIO m => m () Source #
glRenderbufferStorage :: MonadIO m => GLenum -> GLenum -> GLsizei -> GLsizei -> m () Source #
Usage: glRenderbufferStorage
target internalformat width height
The parameter target
is a RenderbufferTarget
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glRenderbufferStorage.xhtml
glSampleCoverage :: MonadIO m => GLfloat -> GLboolean -> m () Source #
Usage: glSampleCoverage
value invert
The parameter invert
is a Boolean
, one of: GL_FALSE
, GL_TRUE
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glSampleCoverage.xhtml
glScissor :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> m () Source #
Usage: glScissor
x y width height
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glScissor.xhtml
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
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
glStencilFunc :: MonadIO m => GLenum -> GLint -> GLuint -> m () Source #
Usage: glStencilFunc
func ref mask
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/glStencilFunc.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
glStencilMask :: MonadIO m => GLuint -> m () Source #
Usage: glStencilMask
mask
The parameter mask
is a MaskedStencilValue
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glStencilMask.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
glStencilOp :: MonadIO m => GLenum -> GLenum -> GLenum -> m () Source #
Usage: glStencilOp
fail zfail zpass
The parameter fail
is a StencilOp
, one of: GL_DECR
, GL_INCR
, GL_INVERT
, GL_KEEP
, GL_REPLACE
, GL_ZERO
.
The parameter zfail
is a StencilOp
, one of: GL_DECR
, GL_INCR
, GL_INVERT
, GL_KEEP
, GL_REPLACE
, GL_ZERO
.
The parameter zpass
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/glStencilOp.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
glTexImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glTexImage2D
target level internalformat width height border format type pixels
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter internalformat
is a TextureComponentCount
.
The parameter border
is a CheckedInt32
.
The parameter format
is a PixelFormat
, one of: GL_ABGR_EXT
, GL_ALPHA
, GL_BLUE
, GL_CMYKA_EXT
, GL_CMYK_EXT
, GL_COLOR_INDEX
, GL_DEPTH_COMPONENT
, GL_GREEN
, GL_LUMINANCE
, GL_LUMINANCE_ALPHA
, GL_RED
, GL_RED_EXT
, GL_RGB
, GL_RGBA
, GL_STENCIL_INDEX
, GL_UNSIGNED_INT
, GL_UNSIGNED_SHORT
, GL_YCRCB_422_SGIX
, GL_YCRCB_444_SGIX
.
The parameter type
is a PixelType
, one of: GL_BITMAP
, GL_BYTE
, GL_FLOAT
, GL_INT
, GL_SHORT
, GL_UNSIGNED_BYTE
, GL_UNSIGNED_BYTE_3_3_2
, GL_UNSIGNED_BYTE_3_3_2_EXT
, GL_UNSIGNED_INT
, GL_UNSIGNED_INT_10_10_10_2
, GL_UNSIGNED_INT_10_10_10_2_EXT
, GL_UNSIGNED_INT_8_8_8_8
, GL_UNSIGNED_INT_8_8_8_8_EXT
, GL_UNSIGNED_SHORT
, GL_UNSIGNED_SHORT_4_4_4_4
, GL_UNSIGNED_SHORT_4_4_4_4_EXT
, GL_UNSIGNED_SHORT_5_5_5_1
, GL_UNSIGNED_SHORT_5_5_5_1_EXT
.
The length of pixels
should be COMPSIZE(format,type,width,height)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glTexImage2D.xhtml
glTexParameterf :: MonadIO m => GLenum -> GLenum -> GLfloat -> m () Source #
Usage: glTexParameterf
target pname param
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a TextureParameterName
, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_PRIORITY_EXT
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_R_OES
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
The parameter param
is a CheckedFloat32
.
glTexParameterfv :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #
Usage: glTexParameterfv
target pname params
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a TextureParameterName
, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_PRIORITY_EXT
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_R_OES
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
The parameter params
is a CheckedFloat32
.
The length of params
should be COMPSIZE(pname)
.
glTexParameteri :: MonadIO m => GLenum -> GLenum -> GLint -> m () Source #
Usage: glTexParameteri
target pname param
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a TextureParameterName
, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_PRIORITY_EXT
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_R_OES
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
The parameter param
is a CheckedInt32
.
glTexParameteriv :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glTexParameteriv
target pname params
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter pname
is a TextureParameterName
, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS
, GL_DETAIL_TEXTURE_MODE_SGIS
, GL_DUAL_TEXTURE_SELECT_SGIS
, GL_GENERATE_MIPMAP
, GL_GENERATE_MIPMAP_SGIS
, GL_POST_TEXTURE_FILTER_BIAS_SGIX
, GL_POST_TEXTURE_FILTER_SCALE_SGIX
, GL_QUAD_TEXTURE_SELECT_SGIS
, GL_SHADOW_AMBIENT_SGIX
, GL_TEXTURE_BORDER_COLOR
, GL_TEXTURE_CLIPMAP_CENTER_SGIX
, GL_TEXTURE_CLIPMAP_DEPTH_SGIX
, GL_TEXTURE_CLIPMAP_FRAME_SGIX
, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_OFFSET_SGIX
, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX
, GL_TEXTURE_COMPARE_SGIX
, GL_TEXTURE_LOD_BIAS_R_SGIX
, GL_TEXTURE_LOD_BIAS_S_SGIX
, GL_TEXTURE_LOD_BIAS_T_SGIX
, GL_TEXTURE_MAG_FILTER
, GL_TEXTURE_MAX_CLAMP_R_SGIX
, GL_TEXTURE_MAX_CLAMP_S_SGIX
, GL_TEXTURE_MAX_CLAMP_T_SGIX
, GL_TEXTURE_MIN_FILTER
, GL_TEXTURE_PRIORITY
, GL_TEXTURE_PRIORITY_EXT
, GL_TEXTURE_WRAP_Q_SGIS
, GL_TEXTURE_WRAP_R
, GL_TEXTURE_WRAP_R_EXT
, GL_TEXTURE_WRAP_R_OES
, GL_TEXTURE_WRAP_S
, GL_TEXTURE_WRAP_T
.
The parameter params
is a CheckedInt32
.
The length of params
should be COMPSIZE(pname)
.
glTexSubImage2D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #
Usage: glTexSubImage2D
target level xoffset yoffset width height format type pixels
The parameter target
is a TextureTarget
, one of: GL_DETAIL_TEXTURE_2D_SGIS
, GL_PROXY_TEXTURE_1D
, GL_PROXY_TEXTURE_1D_EXT
, GL_PROXY_TEXTURE_2D
, GL_PROXY_TEXTURE_2D_EXT
, GL_PROXY_TEXTURE_3D
, GL_PROXY_TEXTURE_3D_EXT
, GL_PROXY_TEXTURE_4D_SGIS
, GL_TEXTURE_1D
, GL_TEXTURE_2D
, GL_TEXTURE_3D
, GL_TEXTURE_3D_EXT
, GL_TEXTURE_3D_OES
, GL_TEXTURE_4D_SGIS
, GL_TEXTURE_BASE_LEVEL
, GL_TEXTURE_BASE_LEVEL_SGIS
, GL_TEXTURE_MAX_LEVEL
, GL_TEXTURE_MAX_LEVEL_SGIS
, GL_TEXTURE_MAX_LOD
, GL_TEXTURE_MAX_LOD_SGIS
, GL_TEXTURE_MIN_LOD
, GL_TEXTURE_MIN_LOD_SGIS
.
The parameter level
is a CheckedInt32
.
The parameter xoffset
is a CheckedInt32
.
The parameter yoffset
is a CheckedInt32
.
The parameter format
is a PixelFormat
, one of: GL_ABGR_EXT
, GL_ALPHA
, GL_BLUE
, GL_CMYKA_EXT
, GL_CMYK_EXT
, GL_COLOR_INDEX
, GL_DEPTH_COMPONENT
, GL_GREEN
, GL_LUMINANCE
, GL_LUMINANCE_ALPHA
, GL_RED
, GL_RED_EXT
, GL_RGB
, GL_RGBA
, GL_STENCIL_INDEX
, GL_UNSIGNED_INT
, GL_UNSIGNED_SHORT
, GL_YCRCB_422_SGIX
, GL_YCRCB_444_SGIX
.
The parameter type
is a PixelType
, one of: GL_BITMAP
, GL_BYTE
, GL_FLOAT
, GL_INT
, GL_SHORT
, GL_UNSIGNED_BYTE
, GL_UNSIGNED_BYTE_3_3_2
, GL_UNSIGNED_BYTE_3_3_2_EXT
, GL_UNSIGNED_INT
, GL_UNSIGNED_INT_10_10_10_2
, GL_UNSIGNED_INT_10_10_10_2_EXT
, GL_UNSIGNED_INT_8_8_8_8
, GL_UNSIGNED_INT_8_8_8_8_EXT
, GL_UNSIGNED_SHORT
, GL_UNSIGNED_SHORT_4_4_4_4
, GL_UNSIGNED_SHORT_4_4_4_4_EXT
, GL_UNSIGNED_SHORT_5_5_5_1
, GL_UNSIGNED_SHORT_5_5_5_1_EXT
.
The length of pixels
should be COMPSIZE(format,type,width,height)
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glTexSubImage2D.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
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
.
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
.
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
.
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
.
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
glViewport :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> m () Source #
Usage: glViewport
x y width height
The parameter x
is a WinCoord
.
The parameter y
is a WinCoord
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glViewport.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_TEXTURE :: (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_ALIASED_LINE_WIDTH_RANGE :: (Eq a, Num a) => a Source #
pattern GL_ALIASED_POINT_SIZE_RANGE :: (Eq a, Num a) => a Source #
pattern GL_ALPHA_BITS :: (Eq a, Num a) => a Source #
pattern GL_ARRAY_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_ATTACHED_SHADERS :: (Eq a, Num a) => a Source #
pattern GL_BLEND_COLOR :: (Eq a, Num a) => a Source #
pattern GL_BLEND_DST_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_BLEND_DST_RGB :: (Eq a, Num a) => a Source #
pattern GL_BLEND_EQUATION :: (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_BLEND_SRC_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_BLEND_SRC_RGB :: (Eq a, Num a) => a Source #
pattern GL_BLUE_BITS :: (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_BUFFER_SIZE :: (Eq a, Num a) => a Source #
pattern GL_BUFFER_USAGE :: (Eq a, Num a) => a Source #
pattern GL_CLAMP_TO_EDGE :: (Eq a, Num a) => a Source #
pattern GL_COLOR_ATTACHMENT0 :: (Eq a, Num a) => a Source #
pattern GL_COLOR_BUFFER_BIT :: (Eq a, Num a) => a Source #
pattern GL_COLOR_CLEAR_VALUE :: (Eq a, Num a) => a Source #
pattern GL_COLOR_WRITEMASK :: (Eq a, Num a) => a Source #
pattern GL_COMPILE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_COMPRESSED_TEXTURE_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_CONSTANT_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_CONSTANT_COLOR :: (Eq a, Num a) => a Source #
pattern GL_CULL_FACE :: (Eq a, Num a) => a Source #
pattern GL_CULL_FACE_MODE :: (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_DECR_WRAP :: (Eq a, Num a) => a Source #
pattern GL_DELETE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_BITS :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_BUFFER_BIT :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_CLEAR_VALUE :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_COMPONENT :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_COMPONENT16 :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_FUNC :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_RANGE :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_TEST :: (Eq a, Num a) => a Source #
pattern GL_DEPTH_WRITEMASK :: (Eq a, Num a) => a Source #
pattern GL_DONT_CARE :: (Eq a, Num a) => a Source #
pattern GL_DST_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_DST_COLOR :: (Eq a, Num a) => a Source #
pattern GL_DYNAMIC_DRAW :: (Eq a, Num a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER :: (Eq a, Num a) => a Source #
pattern GL_ELEMENT_ARRAY_BUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_EXTENSIONS :: (Eq a, Num a) => a Source #
pattern GL_FASTEST :: (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_FRAMEBUFFER :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_COMPLETE :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT :: (Eq a, Num a) => a Source #
pattern GL_FRAMEBUFFER_UNSUPPORTED :: (Eq a, Num a) => a Source #
pattern GL_FRONT_AND_BACK :: (Eq a, Num a) => a Source #
pattern GL_FRONT_FACE :: (Eq a, Num a) => a Source #
pattern GL_FUNC_ADD :: (Eq a, Num a) => a Source #
pattern GL_FUNC_REVERSE_SUBTRACT :: (Eq a, Num a) => a Source #
pattern GL_FUNC_SUBTRACT :: (Eq a, Num a) => a Source #
pattern GL_GENERATE_MIPMAP_HINT :: (Eq a, Num a) => a Source #
pattern GL_GREATER :: (Eq a, Num a) => a Source #
pattern GL_GREEN_BITS :: (Eq a, Num a) => a Source #
pattern GL_HIGH_FLOAT :: (Eq a, Num a) => a Source #
pattern GL_HIGH_INT :: (Eq a, Num a) => a Source #
pattern GL_IMPLEMENTATION_COLOR_READ_FORMAT :: (Eq a, Num a) => a Source #
pattern GL_IMPLEMENTATION_COLOR_READ_TYPE :: (Eq a, Num a) => a Source #
pattern GL_INCR_WRAP :: (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_INVALID_ENUM :: (Eq a, Num a) => a Source #
pattern GL_INVALID_FRAMEBUFFER_OPERATION :: (Eq a, Num a) => a Source #
pattern GL_INVALID_OPERATION :: (Eq a, Num a) => a Source #
pattern GL_INVALID_VALUE :: (Eq a, Num a) => a Source #
pattern GL_LINEAR_MIPMAP_LINEAR :: (Eq a, Num a) => a Source #
pattern GL_LINEAR_MIPMAP_NEAREST :: (Eq a, Num a) => a Source #
pattern GL_LINE_LOOP :: (Eq a, Num a) => a Source #
pattern GL_LINE_STRIP :: (Eq a, Num a) => a Source #
pattern GL_LINE_WIDTH :: (Eq a, Num a) => a Source #
pattern GL_LINK_STATUS :: (Eq a, Num a) => a Source #
pattern GL_LOW_FLOAT :: (Eq a, Num a) => a Source #
pattern GL_LOW_INT :: (Eq a, Num a) => a Source #
pattern GL_LUMINANCE :: (Eq a, Num a) => a Source #
pattern GL_LUMINANCE_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a Source #
pattern GL_MAX_CUBE_MAP_TEXTURE_SIZE :: (Eq a, Num a) => a Source #
pattern GL_MAX_FRAGMENT_UNIFORM_VECTORS :: (Eq a, Num a) => a Source #
pattern GL_MAX_RENDERBUFFER_SIZE :: (Eq a, Num a) => a Source #
pattern GL_MAX_TEXTURE_IMAGE_UNITS :: (Eq a, Num a) => a Source #
pattern GL_MAX_TEXTURE_SIZE :: (Eq a, Num a) => a Source #
pattern GL_MAX_VARYING_VECTORS :: (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_VECTORS :: (Eq a, Num a) => a Source #
pattern GL_MAX_VIEWPORT_DIMS :: (Eq a, Num a) => a Source #
pattern GL_MEDIUM_FLOAT :: (Eq a, Num a) => a Source #
pattern GL_MEDIUM_INT :: (Eq a, Num a) => a Source #
pattern GL_MIRRORED_REPEAT :: (Eq a, Num a) => a Source #
pattern GL_NEAREST :: (Eq a, Num a) => a Source #
pattern GL_NEAREST_MIPMAP_LINEAR :: (Eq a, Num a) => a Source #
pattern GL_NEAREST_MIPMAP_NEAREST :: (Eq a, Num a) => a Source #
pattern GL_NOTEQUAL :: (Eq a, Num a) => a Source #
pattern GL_NO_ERROR :: (Eq a, Num a) => a Source #
pattern GL_NUM_COMPRESSED_TEXTURE_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_NUM_SHADER_BINARY_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_CONSTANT_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_CONSTANT_COLOR :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_DST_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_DST_COLOR :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_SRC_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_ONE_MINUS_SRC_COLOR :: (Eq a, Num a) => a Source #
pattern GL_OUT_OF_MEMORY :: (Eq a, Num a) => a Source #
pattern GL_PACK_ALIGNMENT :: (Eq a, Num a) => a Source #
pattern GL_POLYGON_OFFSET_FACTOR :: (Eq a, Num a) => a Source #
pattern GL_POLYGON_OFFSET_FILL :: (Eq a, Num a) => a Source #
pattern GL_POLYGON_OFFSET_UNITS :: (Eq a, Num a) => a Source #
pattern GL_RED_BITS :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_ALPHA_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_BINDING :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_BLUE_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_DEPTH_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_GREEN_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_HEIGHT :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_INTERNAL_FORMAT :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_RED_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_STENCIL_SIZE :: (Eq a, Num a) => a Source #
pattern GL_RENDERBUFFER_WIDTH :: (Eq a, Num a) => a Source #
pattern GL_RENDERER :: (Eq a, Num a) => a Source #
pattern GL_REPLACE :: (Eq a, Num a) => a Source #
pattern GL_RGB5_A1 :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_2D :: (Eq a, Num a) => a Source #
pattern GL_SAMPLER_CUBE :: (Eq a, Num a) => a Source #
pattern GL_SAMPLES :: (Eq a, Num a) => a Source #
pattern GL_SAMPLE_ALPHA_TO_COVERAGE :: (Eq a, Num a) => a Source #
pattern GL_SAMPLE_BUFFERS :: (Eq a, Num a) => a Source #
pattern GL_SAMPLE_COVERAGE :: (Eq a, Num a) => a Source #
pattern GL_SAMPLE_COVERAGE_INVERT :: (Eq a, Num a) => a Source #
pattern GL_SAMPLE_COVERAGE_VALUE :: (Eq a, Num a) => a Source #
pattern GL_SCISSOR_BOX :: (Eq a, Num a) => a Source #
pattern GL_SCISSOR_TEST :: (Eq a, Num a) => a Source #
pattern GL_SHADER_BINARY_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_SHADER_COMPILER :: (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_SRC_ALPHA :: (Eq a, Num a) => a Source #
pattern GL_SRC_ALPHA_SATURATE :: (Eq a, Num a) => a Source #
pattern GL_SRC_COLOR :: (Eq a, Num a) => a Source #
pattern GL_STATIC_DRAW :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_ATTACHMENT :: (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_STENCIL_BITS :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_BUFFER_BIT :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_CLEAR_VALUE :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_FAIL :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_FUNC :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_INDEX8 :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_PASS_DEPTH_FAIL :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_PASS_DEPTH_PASS :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_REF :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_TEST :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_VALUE_MASK :: (Eq a, Num a) => a Source #
pattern GL_STENCIL_WRITEMASK :: (Eq a, Num a) => a Source #
pattern GL_STREAM_DRAW :: (Eq a, Num a) => a Source #
pattern GL_SUBPIXEL_BITS :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE0 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE1 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE10 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE11 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE12 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE13 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE14 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE15 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE16 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE17 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE18 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE19 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE2 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE20 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE21 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE22 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE23 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE24 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE25 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE26 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE27 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE28 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE29 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE3 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE30 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE31 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE4 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE5 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE6 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE7 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE8 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE9 :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_2D :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_BINDING_2D :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_BINDING_CUBE_MAP :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_X :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_Y :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_NEGATIVE_Z :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_POSITIVE_X :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_POSITIVE_Y :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_CUBE_MAP_POSITIVE_Z :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_MAG_FILTER :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_MIN_FILTER :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_WRAP_S :: (Eq a, Num a) => a Source #
pattern GL_TEXTURE_WRAP_T :: (Eq a, Num a) => a Source #
pattern GL_TRIANGLES :: (Eq a, Num a) => a Source #
pattern GL_TRIANGLE_FAN :: (Eq a, Num a) => a Source #
pattern GL_TRIANGLE_STRIP :: (Eq a, Num a) => a Source #
pattern GL_UNPACK_ALIGNMENT :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_BYTE :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_INT :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_SHORT :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_SHORT_4_4_4_4 :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_SHORT_5_5_5_1 :: (Eq a, Num a) => a Source #
pattern GL_UNSIGNED_SHORT_5_6_5 :: (Eq a, Num a) => a Source #
pattern GL_VALIDATE_STATUS :: (Eq a, Num a) => a Source #
pattern GL_VERSION :: (Eq a, Num a) => a Source #
pattern GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: (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_SHADER :: (Eq a, Num a) => a Source #
pattern GL_VIEWPORT :: (Eq a, Num a) => a Source #