Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class (Integral GLEnum, Integral GLUInt, Integral GLInt, Integral GLSize, Bits GLEnum, Num GLEnum, Num GLUInt, Num GLInt, Num GLPtrDiff, Num GLSize) => GLES where Source
type UniformLocation Source
type FrameBuffer Source
type RenderBuffer Source
type Float32Array Source
type Int32Array Source
toGLString :: String -> GLString Source
encodeM2 :: M2 -> IO Float32Array Source
encodeM3 :: M3 -> IO Float32Array Source
encodeM4 :: M4 -> IO Float32Array Source
encodeFloats :: [Float] -> IO Array Source
encodeV2s :: [V2] -> IO Array Source
encodeV3s :: [V3] -> IO Array Source
encodeV4s :: [V4] -> IO Array Source
encodeUShorts :: [Word16] -> IO Array Source
encodeColors :: [Color] -> IO Array Source
glActiveTexture :: Ctx -> GLEnum -> IO () Source
glAttachShader :: Ctx -> Program -> Shader -> IO () Source
glBindAttribLocation :: Ctx -> Program -> GLUInt -> GLString -> IO () Source
glBindBuffer :: Ctx -> GLEnum -> Buffer -> IO () Source
glBindFramebuffer :: Ctx -> GLEnum -> FrameBuffer -> IO () Source
glBindRenderbuffer :: Ctx -> GLEnum -> RenderBuffer -> IO () Source
glBindTexture :: Ctx -> GLEnum -> Texture -> IO () Source
glBlendColor :: Ctx -> Float -> Float -> Float -> Float -> IO () Source
glBlendEquation :: Ctx -> GLEnum -> IO () Source
glBlendEquationSeparate :: Ctx -> GLEnum -> GLEnum -> IO () Source
glBlendFunc :: Ctx -> GLEnum -> GLEnum -> IO () Source
glBlendFuncSeparate :: Ctx -> GLEnum -> GLEnum -> GLEnum -> GLEnum -> IO () Source
glBufferData :: Ctx -> GLEnum -> Array -> GLEnum -> IO () Source
glBufferSubData :: Ctx -> GLEnum -> GLPtrDiff -> Array -> IO () Source
glCheckFramebufferStatus :: Ctx -> GLEnum -> IO GLEnum Source
glClear :: Ctx -> GLEnum -> IO () Source
glClearColor :: Ctx -> Float -> Float -> Float -> Float -> IO () Source
glClearDepth :: Ctx -> Float -> IO () Source
glClearStencil :: Ctx -> GLInt -> IO () Source
glColorMask :: Ctx -> GLBool -> GLBool -> GLBool -> GLBool -> IO () Source
glCompileShader :: Ctx -> Shader -> IO () Source
glCompressedTexImage2D :: Ctx -> GLEnum -> GLInt -> GLEnum -> GLSize -> GLSize -> GLInt -> Array -> IO () Source
glCompressedTexSubImage2D :: Ctx -> GLEnum -> GLInt -> GLInt -> GLInt -> GLSize -> GLSize -> GLEnum -> Array -> IO () Source
glCopyTexImage2D :: Ctx -> GLEnum -> GLInt -> GLEnum -> GLInt -> GLInt -> GLSize -> GLSize -> GLInt -> IO () Source
glCopyTexSubImage2D :: Ctx -> GLEnum -> GLInt -> GLInt -> GLInt -> GLInt -> GLInt -> GLSize -> GLSize -> IO () Source
glCreateBuffer :: Ctx -> IO Buffer Source
glCreateFramebuffer :: Ctx -> IO FrameBuffer Source
glCreateProgram :: Ctx -> IO Program Source
glCreateRenderbuffer :: Ctx -> IO RenderBuffer Source
glCreateShader :: Ctx -> GLEnum -> IO Shader Source
glCreateTexture :: Ctx -> IO Texture Source
glCullFace :: Ctx -> GLEnum -> IO () Source
glDeleteBuffer :: Ctx -> Buffer -> IO () Source
glDeleteFramebuffer :: Ctx -> FrameBuffer -> IO () Source
glDeleteProgram :: Ctx -> Program -> IO () Source
glDeleteRenderbuffer :: Ctx -> RenderBuffer -> IO () Source
glDeleteShader :: Ctx -> Shader -> IO () Source
glDeleteTexture :: Ctx -> Texture -> IO () Source
glDepthFunc :: Ctx -> GLEnum -> IO () Source
glDepthMask :: Ctx -> GLBool -> IO () Source
glDepthRange :: Ctx -> Float -> Float -> IO () Source
glDetachShader :: Ctx -> Program -> Shader -> IO () Source
glDisable :: Ctx -> GLEnum -> IO () Source
glDisableVertexAttribArray :: Ctx -> GLUInt -> IO () Source
glDrawArrays :: Ctx -> GLEnum -> GLInt -> GLSize -> IO () Source
glDrawElements :: Ctx -> GLEnum -> GLSize -> GLEnum -> GLPtr -> IO () Source
glEnable :: Ctx -> GLEnum -> IO () Source
glEnableVertexAttribArray :: Ctx -> GLUInt -> IO () Source
glFinish :: Ctx -> IO () Source
glFlush :: Ctx -> IO () Source
glFramebufferRenderbuffer :: Ctx -> GLEnum -> GLEnum -> GLEnum -> RenderBuffer -> IO () Source
glFramebufferTexture2D :: Ctx -> GLEnum -> GLEnum -> GLEnum -> Texture -> GLInt -> IO () Source
glFrontFace :: Ctx -> GLEnum -> IO () Source
glGenerateMipmap :: Ctx -> GLEnum -> IO () Source
glGetAttribLocation :: Ctx -> Program -> GLString -> IO GLInt Source
glGetError :: Ctx -> IO GLEnum Source
glGetProgramInfoLog :: Ctx -> Program -> IO GLString Source
glGetShaderInfoLog :: Ctx -> Shader -> IO GLString Source
glGetShaderSource :: Ctx -> Shader -> IO GLString Source
glGetUniformLocation :: Ctx -> Program -> GLString -> IO UniformLocation Source
glHint :: Ctx -> GLEnum -> GLEnum -> IO () Source
glIsBuffer :: Ctx -> Buffer -> IO GLBool Source
glIsEnabled :: Ctx -> GLEnum -> IO GLBool Source
glIsFramebuffer :: Ctx -> FrameBuffer -> IO GLBool Source
glIsProgram :: Ctx -> Program -> IO GLBool Source
glIsRenderbuffer :: Ctx -> RenderBuffer -> IO GLBool Source
glIsShader :: Ctx -> Shader -> IO GLBool Source
glIsTexture :: Ctx -> Texture -> IO GLBool Source
glLineWidth :: Ctx -> Float -> IO () Source
glLinkProgram :: Ctx -> Program -> IO () Source
glPixelStorei :: Ctx -> GLEnum -> GLInt -> IO () Source
glPolygonOffset :: Ctx -> Float -> Float -> IO () Source
glReadPixels :: Ctx -> GLInt -> GLInt -> GLSize -> GLSize -> GLEnum -> GLEnum -> Array -> IO () Source
glRenderbufferStorage :: Ctx -> GLEnum -> GLEnum -> GLSize -> GLSize -> IO () Source
glSampleCoverage :: Ctx -> Float -> GLBool -> IO () Source
glScissor :: Ctx -> GLInt -> GLInt -> GLSize -> GLSize -> IO () Source
glShaderSource :: Ctx -> Shader -> GLString -> IO () Source
glStencilFunc :: Ctx -> GLEnum -> GLInt -> GLUInt -> IO () Source
glStencilFuncSeparate :: Ctx -> GLEnum -> GLEnum -> GLInt -> GLUInt -> IO () Source
glStencilMask :: Ctx -> GLUInt -> IO () Source
glStencilMaskSeparate :: Ctx -> GLEnum -> GLUInt -> IO () Source
glStencilOp :: Ctx -> GLEnum -> GLEnum -> GLEnum -> IO () Source
glStencilOpSeparate :: Ctx -> GLEnum -> GLEnum -> GLEnum -> GLEnum -> IO () Source
glTexImage2DBuffer :: Ctx -> GLEnum -> GLInt -> GLInt -> GLSize -> GLSize -> GLInt -> GLEnum -> GLEnum -> Array -> IO () Source
glTexImage2DImage :: Ctx -> GLEnum -> GLInt -> GLInt -> GLEnum -> GLEnum -> Image -> IO () Source
glTexParameterf :: Ctx -> GLEnum -> GLEnum -> Float -> IO () Source
glTexParameteri :: Ctx -> GLEnum -> GLEnum -> GLInt -> IO () Source
glTexSubImage2D :: Ctx -> GLEnum -> GLInt -> GLInt -> GLInt -> GLSize -> GLSize -> GLEnum -> GLEnum -> Array -> IO () Source
glUniform1f :: Ctx -> UniformLocation -> Float -> IO () Source
glUniform1fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source
glUniform1i :: Ctx -> UniformLocation -> GLInt -> IO () Source
glUniform1iv :: Ctx -> UniformLocation -> Int32Array -> IO () Source
glUniform2f :: Ctx -> UniformLocation -> Float -> Float -> IO () Source
glUniform2fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source
glUniform2i :: Ctx -> UniformLocation -> GLInt -> GLInt -> IO () Source
glUniform2iv :: Ctx -> UniformLocation -> Int32Array -> IO () Source
glUniform3f :: Ctx -> UniformLocation -> Float -> Float -> Float -> IO () Source
glUniform3fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source
glUniform3i :: Ctx -> UniformLocation -> GLInt -> GLInt -> GLInt -> IO () Source
glUniform3iv :: Ctx -> UniformLocation -> Int32Array -> IO () Source
glUniform4f :: Ctx -> UniformLocation -> Float -> Float -> Float -> Float -> IO () Source
glUniform4fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source
glUniform4i :: Ctx -> UniformLocation -> GLInt -> GLInt -> GLInt -> GLInt -> IO () Source
glUniform4iv :: Ctx -> UniformLocation -> Int32Array -> IO () Source
glUniformMatrix2fv :: Ctx -> UniformLocation -> GLBool -> Float32Array -> IO () Source
glUniformMatrix3fv :: Ctx -> UniformLocation -> GLBool -> Float32Array -> IO () Source
glUniformMatrix4fv :: Ctx -> UniformLocation -> GLBool -> Float32Array -> IO () Source
glUseProgram :: Ctx -> Program -> IO () Source
glValidateProgram :: Ctx -> Program -> IO () Source
glVertexAttrib1f :: Ctx -> GLUInt -> Float -> IO () Source
glVertexAttrib1fv :: Ctx -> GLUInt -> Float32Array -> IO () Source
glVertexAttrib2f :: Ctx -> GLUInt -> Float -> Float -> IO () Source
glVertexAttrib2fv :: Ctx -> GLUInt -> Float32Array -> IO () Source
glVertexAttrib3f :: Ctx -> GLUInt -> Float -> Float -> Float -> IO () Source
glVertexAttrib3fv :: Ctx -> GLUInt -> Float32Array -> IO () Source
glVertexAttrib4f :: Ctx -> GLUInt -> Float -> Float -> Float -> Float -> IO () Source
glVertexAttrib4fv :: Ctx -> GLUInt -> Float32Array -> IO () Source
glVertexAttribPointer :: Ctx -> GLUInt -> GLInt -> GLEnum -> GLBool -> GLSize -> GLPtr -> IO () Source
glViewport :: Ctx -> GLInt -> GLInt -> GLSize -> GLSize -> IO () Source
gl_DEPTH_BUFFER_BIT :: GLEnum Source
gl_STENCIL_BUFFER_BIT :: GLEnum Source
gl_COLOR_BUFFER_BIT :: GLEnum Source
gl_LINE_STRIP :: GLEnum Source
gl_TRIANGLE_STRIP :: GLEnum Source
gl_TRIANGLE_FAN :: GLEnum Source
gl_ONE_MINUS_SRC_COLOR :: GLEnum Source
gl_ONE_MINUS_SRC_ALPHA :: GLEnum Source
gl_ONE_MINUS_DST_ALPHA :: GLEnum Source
gl_ONE_MINUS_DST_COLOR :: GLEnum Source
gl_SRC_ALPHA_SATURATE :: GLEnum Source
gl_BLEND_EQUATION :: GLEnum Source
gl_BLEND_EQUATION_RGB :: GLEnum Source
gl_BLEND_EQUATION_ALPHA :: GLEnum Source
gl_FUNC_SUBTRACT :: GLEnum Source
gl_FUNC_REVERSE_SUBTRACT :: GLEnum Source
gl_BLEND_DST_RGB :: GLEnum Source
gl_BLEND_SRC_RGB :: GLEnum Source
gl_BLEND_DST_ALPHA :: GLEnum Source
gl_BLEND_SRC_ALPHA :: GLEnum Source
gl_CONSTANT_COLOR :: GLEnum Source
gl_ONE_MINUS_CONSTANT_COLOR :: GLEnum Source
gl_CONSTANT_ALPHA :: GLEnum Source
gl_ONE_MINUS_CONSTANT_ALPHA :: GLEnum Source
gl_BLEND_COLOR :: GLEnum Source
gl_ARRAY_BUFFER :: GLEnum Source
gl_ELEMENT_ARRAY_BUFFER :: GLEnum Source
gl_ARRAY_BUFFER_BINDING :: GLEnum Source
gl_ELEMENT_ARRAY_BUFFER_BINDING :: GLEnum Source
gl_STREAM_DRAW :: GLEnum Source
gl_STATIC_DRAW :: GLEnum Source
gl_DYNAMIC_DRAW :: GLEnum Source
gl_BUFFER_SIZE :: GLEnum Source
gl_BUFFER_USAGE :: GLEnum Source
gl_CURRENT_VERTEX_ATTRIB :: GLEnum Source
gl_FRONT_AND_BACK :: GLEnum Source
gl_STENCIL_TEST :: GLEnum Source
gl_DEPTH_TEST :: GLEnum Source
gl_SCISSOR_TEST :: GLEnum Source
gl_POLYGON_OFFSET_FILL :: GLEnum Source
gl_SAMPLE_ALPHA_TO_COVERAGE :: GLEnum Source
gl_SAMPLE_COVERAGE :: GLEnum Source
gl_INVALID_ENUM :: GLEnum Source
gl_INVALID_VALUE :: GLEnum Source
gl_INVALID_OPERATION :: GLEnum Source
gl_OUT_OF_MEMORY :: GLEnum Source
gl_LINE_WIDTH :: GLEnum Source
gl_ALIASED_POINT_SIZE_RANGE :: GLEnum Source
gl_ALIASED_LINE_WIDTH_RANGE :: GLEnum Source
gl_CULL_FACE_MODE :: GLEnum Source
gl_FRONT_FACE :: GLEnum Source
gl_DEPTH_RANGE :: GLEnum Source
gl_DEPTH_WRITEMASK :: GLEnum Source
gl_DEPTH_CLEAR_VALUE :: GLEnum Source
gl_DEPTH_FUNC :: GLEnum Source
gl_STENCIL_CLEAR_VALUE :: GLEnum Source
gl_STENCIL_FUNC :: GLEnum Source
gl_STENCIL_FAIL :: GLEnum Source
gl_STENCIL_PASS_DEPTH_FAIL :: GLEnum Source
gl_STENCIL_PASS_DEPTH_PASS :: GLEnum Source
gl_STENCIL_REF :: GLEnum Source
gl_STENCIL_VALUE_MASK :: GLEnum Source
gl_STENCIL_WRITEMASK :: GLEnum Source
gl_STENCIL_BACK_FUNC :: GLEnum Source
gl_STENCIL_BACK_FAIL :: GLEnum Source
gl_STENCIL_BACK_PASS_DEPTH_FAIL :: GLEnum Source
gl_STENCIL_BACK_PASS_DEPTH_PASS :: GLEnum Source
gl_STENCIL_BACK_REF :: GLEnum Source
gl_STENCIL_BACK_VALUE_MASK :: GLEnum Source
gl_STENCIL_BACK_WRITEMASK :: GLEnum Source
gl_SCISSOR_BOX :: GLEnum Source
gl_COLOR_CLEAR_VALUE :: GLEnum Source
gl_COLOR_WRITEMASK :: GLEnum Source
gl_UNPACK_ALIGNMENT :: GLEnum Source
gl_PACK_ALIGNMENT :: GLEnum Source
gl_MAX_TEXTURE_SIZE :: GLEnum Source
gl_MAX_VIEWPORT_DIMS :: GLEnum Source
gl_SUBPIXEL_BITS :: GLEnum Source
gl_GREEN_BITS :: GLEnum Source
gl_ALPHA_BITS :: GLEnum Source
gl_DEPTH_BITS :: GLEnum Source
gl_STENCIL_BITS :: GLEnum Source
gl_POLYGON_OFFSET_UNITS :: GLEnum Source
gl_POLYGON_OFFSET_FACTOR :: GLEnum Source
gl_TEXTURE_BINDING_2D :: GLEnum Source
gl_SAMPLE_BUFFERS :: GLEnum Source
gl_SAMPLE_COVERAGE_VALUE :: GLEnum Source
gl_SAMPLE_COVERAGE_INVERT :: GLEnum Source
gl_COMPRESSED_TEXTURE_FORMATS :: GLEnum Source
gl_GENERATE_MIPMAP_HINT :: GLEnum Source
gl_UNSIGNED_BYTE :: GLEnum Source
gl_UNSIGNED_SHORT :: GLEnum Source
gl_UNSIGNED_INT :: GLEnum Source
gl_DEPTH_COMPONENT :: GLEnum Source
gl_LUMINANCE_ALPHA :: GLEnum Source
gl_UNSIGNED_SHORT_4_4_4_4 :: GLEnum Source
gl_UNSIGNED_SHORT_5_5_5_1 :: GLEnum Source
gl_UNSIGNED_SHORT_5_6_5 :: GLEnum Source
gl_FRAGMENT_SHADER :: GLEnum Source
gl_VERTEX_SHADER :: GLEnum Source
gl_MAX_VERTEX_ATTRIBS :: GLEnum Source
gl_MAX_VERTEX_UNIFORM_VECTORS :: GLEnum Source
gl_MAX_VARYING_VECTORS :: GLEnum Source
gl_MAX_COMBINED_TEXTURE_IMAGE_UNITS :: GLEnum Source
gl_MAX_VERTEX_TEXTURE_IMAGE_UNITS :: GLEnum Source
gl_MAX_TEXTURE_IMAGE_UNITS :: GLEnum Source
gl_MAX_FRAGMENT_UNIFORM_VECTORS :: GLEnum Source
gl_SHADER_TYPE :: GLEnum Source
gl_DELETE_STATUS :: GLEnum Source
gl_LINK_STATUS :: GLEnum Source
gl_VALIDATE_STATUS :: GLEnum Source
gl_ATTACHED_SHADERS :: GLEnum Source
gl_ACTIVE_UNIFORMS :: GLEnum Source
gl_ACTIVE_ATTRIBUTES :: GLEnum Source
gl_SHADING_LANGUAGE_VERSION :: GLEnum Source
gl_CURRENT_PROGRAM :: GLEnum Source
gl_NEAREST_MIPMAP_NEAREST :: GLEnum Source
gl_LINEAR_MIPMAP_NEAREST :: GLEnum Source
gl_NEAREST_MIPMAP_LINEAR :: GLEnum Source
gl_LINEAR_MIPMAP_LINEAR :: GLEnum Source
gl_TEXTURE_MAG_FILTER :: GLEnum Source
gl_TEXTURE_MIN_FILTER :: GLEnum Source
gl_TEXTURE_WRAP_S :: GLEnum Source
gl_TEXTURE_WRAP_T :: GLEnum Source
gl_TEXTURE_2D :: GLEnum Source
gl_TEXTURE_CUBE_MAP :: GLEnum Source
gl_TEXTURE_BINDING_CUBE_MAP :: GLEnum Source
gl_TEXTURE_CUBE_MAP_POSITIVE_X :: GLEnum Source
gl_TEXTURE_CUBE_MAP_NEGATIVE_X :: GLEnum Source
gl_TEXTURE_CUBE_MAP_POSITIVE_Y :: GLEnum Source
gl_TEXTURE_CUBE_MAP_NEGATIVE_Y :: GLEnum Source
gl_TEXTURE_CUBE_MAP_POSITIVE_Z :: GLEnum Source
gl_TEXTURE_CUBE_MAP_NEGATIVE_Z :: GLEnum Source
gl_MAX_CUBE_MAP_TEXTURE_SIZE :: GLEnum Source
gl_ACTIVE_TEXTURE :: GLEnum Source
gl_CLAMP_TO_EDGE :: GLEnum Source
gl_MIRRORED_REPEAT :: GLEnum Source
gl_FLOAT_VEC2 :: GLEnum Source
gl_FLOAT_VEC3 :: GLEnum Source
gl_FLOAT_VEC4 :: GLEnum Source
gl_FLOAT_MAT2 :: GLEnum Source
gl_FLOAT_MAT3 :: GLEnum Source
gl_FLOAT_MAT4 :: GLEnum Source
gl_SAMPLER_2D :: GLEnum Source
gl_SAMPLER_CUBE :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_ENABLED :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_SIZE :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_STRIDE :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_TYPE :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_NORMALIZED :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_POINTER :: GLEnum Source
gl_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING :: GLEnum Source
gl_COMPILE_STATUS :: GLEnum Source
gl_MEDIUM_FLOAT :: GLEnum Source
gl_HIGH_FLOAT :: GLEnum Source
gl_MEDIUM_INT :: GLEnum Source
gl_FRAMEBUFFER :: GLEnum Source
gl_RENDERBUFFER :: GLEnum Source
gl_DEPTH_COMPONENT16 :: GLEnum Source
gl_STENCIL_INDEX8 :: GLEnum Source
gl_RENDERBUFFER_WIDTH :: GLEnum Source
gl_RENDERBUFFER_HEIGHT :: GLEnum Source
gl_RENDERBUFFER_INTERNAL_FORMAT :: GLEnum Source
gl_RENDERBUFFER_RED_SIZE :: GLEnum Source
gl_RENDERBUFFER_GREEN_SIZE :: GLEnum Source
gl_RENDERBUFFER_BLUE_SIZE :: GLEnum Source
gl_RENDERBUFFER_ALPHA_SIZE :: GLEnum Source
gl_RENDERBUFFER_DEPTH_SIZE :: GLEnum Source
gl_RENDERBUFFER_STENCIL_SIZE :: GLEnum Source
gl_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE :: GLEnum Source
gl_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME :: GLEnum Source
gl_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL :: GLEnum Source
gl_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE :: GLEnum Source
gl_COLOR_ATTACHMENT0 :: GLEnum Source
gl_DEPTH_ATTACHMENT :: GLEnum Source
gl_STENCIL_ATTACHMENT :: GLEnum Source
gl_FRAMEBUFFER_COMPLETE :: GLEnum Source
gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT :: GLEnum Source
gl_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT :: GLEnum Source
gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS :: GLEnum Source
gl_FRAMEBUFFER_UNSUPPORTED :: GLEnum Source
gl_FRAMEBUFFER_BINDING :: GLEnum Source
gl_RENDERBUFFER_BINDING :: GLEnum Source