Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class (Integral GLEnum, Integral GLUInt, Integral GLInt, Integral GLSize, Bits GLEnum, Num GLEnum, Num GLUInt, Num GLInt, Num GLPtrDiff, Num GLSize, Eq GLEnum, Eq GLUInt, Eq GLInt, Eq GLPtrDiff, Eq GLSize, Eq Texture) => GLES where
- type Ctx
- type GLEnum
- type GLUInt
- type GLInt
- type GLPtr
- type GLPtrDiff
- type GLSize
- type GLString
- type GLBool
- type Buffer
- type UniformLocation
- type Texture
- type Shader
- type Program
- type FrameBuffer
- type RenderBuffer
- type VertexArrayObject
- type AnyArray
- type Float32Array
- type Int32Array
- type UInt8Array
- type UInt16Array
Documentation
class (Integral GLEnum, Integral GLUInt, Integral GLInt, Integral GLSize, Bits GLEnum, Num GLEnum, Num GLUInt, Num GLInt, Num GLPtrDiff, Num GLSize, Eq GLEnum, Eq GLUInt, Eq GLInt, Eq GLPtrDiff, Eq GLSize, Eq Texture) => GLES where Source #
Backend API.
true, false, nullGLPtr, toGLString, noBuffer, noTexture, noVAO, noUInt8Array, noFloat32Array, encodeMat2, encodeMat3, encodeMat4, encodeFloats, encodeInts, encodeVec2s, encodeVec3s, encodeVec4s, encodeIVec2s, encodeIVec3s, encodeIVec4s, encodeUShorts, encodeUInt8s, newByteArray, fromFloat32Array, fromInt32Array, fromUInt8Array, fromUInt16Array, decodeBytes, glActiveTexture, glAttachShader, glBindAttribLocation, glBindBuffer, glBindFramebuffer, glBindRenderbuffer, glBindTexture, glBindVertexArray, glBlendColor, glBlendEquation, glBlendEquationSeparate, glBlendFunc, glBlendFuncSeparate, glBufferData, glBufferSubData, glCheckFramebufferStatus, glClear, glClearColor, glClearDepth, glClearStencil, glColorMask, glCompileShader, glCompressedTexImage2D, glCompressedTexSubImage2D, glCopyTexImage2D, glCopyTexSubImage2D, glCreateBuffer, glCreateFramebuffer, glCreateProgram, glCreateRenderbuffer, glCreateShader, glCreateTexture, glCreateVertexArray, glCullFace, glDeleteBuffer, glDeleteFramebuffer, glDeleteProgram, glDeleteRenderbuffer, glDeleteShader, glDeleteTexture, glDeleteVertexArray, glDepthFunc, glDepthMask, glDepthRange, glDetachShader, glDisable, glDisableVertexAttribArray, glDrawArrays, glDrawBuffers, glDrawElements, glEnable, glEnableVertexAttribArray, glFinish, glFlush, glFramebufferRenderbuffer, glFramebufferTexture2D, glFrontFace, glGenerateMipmap, glGetAttribLocation, glGetError, glGetProgramInfoLog, glGetShaderInfoLog, glGetShaderSource, glGetUniformLocation, glHint, glIsBuffer, glIsEnabled, glIsFramebuffer, glIsProgram, glIsRenderbuffer, glIsShader, glIsTexture, glIsVertexArray, glLineWidth, glLinkProgram, glPixelStorei, glPolygonOffset, glReadPixels, glRenderbufferStorage, glSampleCoverage, glScissor, glShaderSource, glStencilFunc, glStencilFuncSeparate, glStencilMask, glStencilMaskSeparate, glStencilOp, glStencilOpSeparate, glTexImage2DUInt, glTexImage2DFloat, glTexParameterf, glTexParameteri, glTexSubImage2D, glUniform1f, glUniform1fv, glUniform1i, glUniform1iv, glUniform2f, glUniform2fv, glUniform2i, glUniform2iv, glUniform3f, glUniform3fv, glUniform3i, glUniform3iv, glUniform4f, glUniform4fv, glUniform4i, glUniform4iv, glUniformMatrix2fv, glUniformMatrix3fv, glUniformMatrix4fv, glUseProgram, glValidateProgram, glVertexAttrib1f, glVertexAttrib1fv, glVertexAttrib2f, glVertexAttrib2fv, glVertexAttrib3f, glVertexAttrib3fv, glVertexAttrib4f, glVertexAttrib4fv, glVertexAttribPointer, glViewport, gl_DEPTH_BUFFER_BIT, gl_STENCIL_BUFFER_BIT, gl_COLOR_BUFFER_BIT, gl_POINTS, gl_LINES, gl_LINE_LOOP, gl_LINE_STRIP, gl_TRIANGLES, gl_TRIANGLE_STRIP, gl_TRIANGLE_FAN, gl_ZERO, gl_ONE, gl_SRC_COLOR, gl_ONE_MINUS_SRC_COLOR, gl_SRC_ALPHA, gl_ONE_MINUS_SRC_ALPHA, gl_DST_ALPHA, gl_ONE_MINUS_DST_ALPHA, gl_DST_COLOR, gl_ONE_MINUS_DST_COLOR, gl_SRC_ALPHA_SATURATE, gl_FUNC_ADD, gl_BLEND_EQUATION, gl_BLEND_EQUATION_RGB, gl_BLEND_EQUATION_ALPHA, gl_FUNC_SUBTRACT, gl_FUNC_REVERSE_SUBTRACT, gl_BLEND_DST_RGB, gl_BLEND_SRC_RGB, gl_BLEND_DST_ALPHA, gl_BLEND_SRC_ALPHA, gl_CONSTANT_COLOR, gl_ONE_MINUS_CONSTANT_COLOR, gl_CONSTANT_ALPHA, gl_ONE_MINUS_CONSTANT_ALPHA, gl_BLEND_COLOR, gl_ARRAY_BUFFER, gl_ELEMENT_ARRAY_BUFFER, gl_ARRAY_BUFFER_BINDING, gl_ELEMENT_ARRAY_BUFFER_BINDING, gl_STREAM_DRAW, gl_STATIC_DRAW, gl_DYNAMIC_DRAW, gl_BUFFER_SIZE, gl_BUFFER_USAGE, gl_CURRENT_VERTEX_ATTRIB, gl_FRONT, gl_BACK, gl_FRONT_AND_BACK, gl_CULL_FACE, gl_BLEND, gl_DITHER, gl_STENCIL_TEST, gl_DEPTH_TEST, gl_SCISSOR_TEST, gl_POLYGON_OFFSET_FILL, gl_SAMPLE_ALPHA_TO_COVERAGE, gl_SAMPLE_COVERAGE, gl_NO_ERROR, gl_INVALID_ENUM, gl_INVALID_VALUE, gl_INVALID_OPERATION, gl_OUT_OF_MEMORY, gl_CW, gl_CCW, gl_LINE_WIDTH, gl_ALIASED_POINT_SIZE_RANGE, gl_ALIASED_LINE_WIDTH_RANGE, gl_CULL_FACE_MODE, gl_FRONT_FACE, gl_DEPTH_RANGE, gl_DEPTH_WRITEMASK, gl_DEPTH_CLEAR_VALUE, gl_DEPTH_FUNC, gl_STENCIL_CLEAR_VALUE, gl_STENCIL_FUNC, gl_STENCIL_FAIL, gl_STENCIL_PASS_DEPTH_FAIL, gl_STENCIL_PASS_DEPTH_PASS, gl_STENCIL_REF, gl_STENCIL_VALUE_MASK, gl_STENCIL_WRITEMASK, gl_STENCIL_BACK_FUNC, gl_STENCIL_BACK_FAIL, gl_STENCIL_BACK_PASS_DEPTH_FAIL, gl_STENCIL_BACK_PASS_DEPTH_PASS, gl_STENCIL_BACK_REF, gl_STENCIL_BACK_VALUE_MASK, gl_STENCIL_BACK_WRITEMASK, gl_VIEWPORT, gl_SCISSOR_BOX, gl_COLOR_CLEAR_VALUE, gl_COLOR_WRITEMASK, gl_UNPACK_ALIGNMENT, gl_PACK_ALIGNMENT, gl_MAX_TEXTURE_SIZE, gl_MAX_VIEWPORT_DIMS, gl_SUBPIXEL_BITS, gl_RED_BITS, gl_GREEN_BITS, gl_BLUE_BITS, gl_ALPHA_BITS, gl_DEPTH_BITS, gl_STENCIL_BITS, gl_POLYGON_OFFSET_UNITS, gl_POLYGON_OFFSET_FACTOR, gl_TEXTURE_BINDING_2D, gl_SAMPLE_BUFFERS, gl_SAMPLES, gl_SAMPLE_COVERAGE_VALUE, gl_SAMPLE_COVERAGE_INVERT, gl_COMPRESSED_TEXTURE_FORMATS, gl_DONT_CARE, gl_FASTEST, gl_NICEST, gl_GENERATE_MIPMAP_HINT, gl_BYTE, gl_UNSIGNED_BYTE, gl_SHORT, gl_UNSIGNED_SHORT, gl_INT, gl_UNSIGNED_INT, gl_UNSIGNED_INT_24_8, gl_FLOAT, gl_DEPTH_COMPONENT, gl_DEPTH_STENCIL, gl_ALPHA, gl_RGB, gl_RGBA, gl_RGBA32F, gl_LUMINANCE, gl_LUMINANCE_ALPHA, gl_UNSIGNED_SHORT_4_4_4_4, gl_UNSIGNED_SHORT_5_5_5_1, gl_UNSIGNED_SHORT_5_6_5, gl_FRAGMENT_SHADER, gl_VERTEX_SHADER, gl_MAX_VERTEX_ATTRIBS, gl_MAX_VERTEX_UNIFORM_VECTORS, gl_MAX_VARYING_VECTORS, gl_MAX_COMBINED_TEXTURE_IMAGE_UNITS, gl_MAX_VERTEX_TEXTURE_IMAGE_UNITS, gl_MAX_TEXTURE_IMAGE_UNITS, gl_MAX_FRAGMENT_UNIFORM_VECTORS, gl_SHADER_TYPE, gl_DELETE_STATUS, gl_LINK_STATUS, gl_VALIDATE_STATUS, gl_ATTACHED_SHADERS, gl_ACTIVE_UNIFORMS, gl_ACTIVE_ATTRIBUTES, gl_SHADING_LANGUAGE_VERSION, gl_CURRENT_PROGRAM, gl_NEVER, gl_LESS, gl_EQUAL, gl_LEQUAL, gl_GREATER, gl_NOTEQUAL, gl_GEQUAL, gl_ALWAYS, gl_KEEP, gl_REPLACE, gl_INCR, gl_DECR, gl_INVERT, gl_INCR_WRAP, gl_DECR_WRAP, gl_VENDOR, gl_RENDERER, gl_VERSION, gl_NEAREST, gl_LINEAR, gl_NEAREST_MIPMAP_NEAREST, gl_LINEAR_MIPMAP_NEAREST, gl_NEAREST_MIPMAP_LINEAR, gl_LINEAR_MIPMAP_LINEAR, gl_TEXTURE_MAG_FILTER, gl_TEXTURE_MIN_FILTER, gl_TEXTURE_WRAP_S, gl_TEXTURE_WRAP_T, gl_TEXTURE_2D, gl_TEXTURE, gl_TEXTURE_CUBE_MAP, gl_TEXTURE_BINDING_CUBE_MAP, gl_TEXTURE_CUBE_MAP_POSITIVE_X, gl_TEXTURE_CUBE_MAP_NEGATIVE_X, gl_TEXTURE_CUBE_MAP_POSITIVE_Y, gl_TEXTURE_CUBE_MAP_NEGATIVE_Y, gl_TEXTURE_CUBE_MAP_POSITIVE_Z, gl_TEXTURE_CUBE_MAP_NEGATIVE_Z, gl_MAX_CUBE_MAP_TEXTURE_SIZE, gl_TEXTURE0, gl_TEXTURE1, gl_TEXTURE2, gl_TEXTURE3, gl_TEXTURE4, gl_TEXTURE5, gl_TEXTURE6, gl_TEXTURE7, gl_TEXTURE8, gl_TEXTURE9, gl_TEXTURE10, gl_TEXTURE11, gl_TEXTURE12, gl_TEXTURE13, gl_TEXTURE14, gl_TEXTURE15, gl_TEXTURE16, gl_TEXTURE17, gl_TEXTURE18, gl_TEXTURE19, gl_TEXTURE20, gl_TEXTURE21, gl_TEXTURE22, gl_TEXTURE23, gl_TEXTURE24, gl_TEXTURE25, gl_TEXTURE26, gl_TEXTURE27, gl_TEXTURE28, gl_TEXTURE29, gl_TEXTURE30, gl_TEXTURE31, gl_ACTIVE_TEXTURE, gl_REPEAT, gl_CLAMP_TO_EDGE, gl_MIRRORED_REPEAT, gl_FLOAT_VEC2, gl_FLOAT_VEC3, gl_FLOAT_VEC4, gl_INT_VEC2, gl_INT_VEC3, gl_INT_VEC4, gl_BOOL, gl_BOOL_VEC2, gl_BOOL_VEC3, gl_BOOL_VEC4, gl_FLOAT_MAT2, gl_FLOAT_MAT3, gl_FLOAT_MAT4, gl_SAMPLER_2D, gl_SAMPLER_CUBE, gl_VERTEX_ATTRIB_ARRAY_ENABLED, gl_VERTEX_ATTRIB_ARRAY_SIZE, gl_VERTEX_ATTRIB_ARRAY_STRIDE, gl_VERTEX_ATTRIB_ARRAY_TYPE, gl_VERTEX_ATTRIB_ARRAY_NORMALIZED, gl_VERTEX_ATTRIB_ARRAY_POINTER, gl_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, gl_COMPILE_STATUS, gl_LOW_FLOAT, gl_MEDIUM_FLOAT, gl_HIGH_FLOAT, gl_LOW_INT, gl_MEDIUM_INT, gl_HIGH_INT, gl_FRAMEBUFFER, gl_RENDERBUFFER, gl_RGBA4, gl_RGB5_A1, gl_RGB565, gl_DEPTH_COMPONENT16, gl_STENCIL_INDEX8, gl_RENDERBUFFER_WIDTH, gl_RENDERBUFFER_HEIGHT, gl_RENDERBUFFER_INTERNAL_FORMAT, gl_RENDERBUFFER_RED_SIZE, gl_RENDERBUFFER_GREEN_SIZE, gl_RENDERBUFFER_BLUE_SIZE, gl_RENDERBUFFER_ALPHA_SIZE, gl_RENDERBUFFER_DEPTH_SIZE, gl_RENDERBUFFER_STENCIL_SIZE, gl_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, gl_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, gl_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, gl_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, gl_MAX_DRAW_BUFFERS, gl_DRAW_BUFFER0, gl_DRAW_BUFFER1, gl_DRAW_BUFFER2, gl_DRAW_BUFFER3, gl_DRAW_BUFFER4, gl_DRAW_BUFFER5, gl_DRAW_BUFFER6, gl_DRAW_BUFFER7, gl_DRAW_BUFFER8, gl_DRAW_BUFFER9, gl_DRAW_BUFFER10, gl_DRAW_BUFFER11, gl_DRAW_BUFFER12, gl_DRAW_BUFFER13, gl_DRAW_BUFFER14, gl_DRAW_BUFFER15, gl_MAX_COLOR_ATTACHMENTS, gl_COLOR_ATTACHMENT0, gl_COLOR_ATTACHMENT1, gl_COLOR_ATTACHMENT2, gl_COLOR_ATTACHMENT3, gl_COLOR_ATTACHMENT4, gl_COLOR_ATTACHMENT5, gl_COLOR_ATTACHMENT6, gl_COLOR_ATTACHMENT7, gl_COLOR_ATTACHMENT8, gl_COLOR_ATTACHMENT9, gl_COLOR_ATTACHMENT10, gl_COLOR_ATTACHMENT11, gl_COLOR_ATTACHMENT12, gl_COLOR_ATTACHMENT13, gl_COLOR_ATTACHMENT14, gl_COLOR_ATTACHMENT15, gl_DEPTH_ATTACHMENT, gl_STENCIL_ATTACHMENT, gl_DEPTH_STENCIL_ATTACHMENT, gl_NONE, gl_FRAMEBUFFER_COMPLETE, gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, gl_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, gl_FRAMEBUFFER_UNSUPPORTED, gl_FRAMEBUFFER_BINDING, gl_RENDERBUFFER_BINDING, gl_MAX_RENDERBUFFER_SIZE, gl_INVALID_FRAMEBUFFER_OPERATION
type UniformLocation Source #
type FrameBuffer Source #
type RenderBuffer Source #
type VertexArrayObject Source #
type Float32Array Source #
type Int32Array Source #
type UInt8Array Source #
type UInt16Array Source #
toGLString :: String -> GLString Source #
noVAO :: VertexArrayObject Source #
noUInt8Array :: IO UInt8Array Source #
noFloat32Array :: IO Float32Array Source #
encodeMat2 :: Mat2 -> IO Float32Array Source #
encodeMat3 :: Mat3 -> IO Float32Array Source #
encodeMat4 :: Mat4 -> IO Float32Array Source #
encodeFloats :: [Float] -> IO Float32Array Source #
encodeInts :: [Int32] -> IO Int32Array Source #
encodeVec2s :: [Vec2] -> IO Float32Array Source #
encodeVec3s :: [Vec3] -> IO Float32Array Source #
encodeVec4s :: [Vec4] -> IO Float32Array Source #
encodeIVec2s :: [IVec2] -> IO Int32Array Source #
encodeIVec3s :: [IVec3] -> IO Int32Array Source #
encodeIVec4s :: [IVec4] -> IO Int32Array Source #
encodeUShorts :: [Word16] -> IO UInt16Array Source #
encodeUInt8s :: [Word8] -> IO UInt8Array Source #
newByteArray :: Int -> IO UInt8Array Source #
fromFloat32Array :: Float32Array -> AnyArray Source #
fromInt32Array :: Int32Array -> AnyArray Source #
fromUInt8Array :: UInt8Array -> AnyArray Source #
fromUInt16Array :: UInt16Array -> AnyArray Source #
decodeBytes :: UInt8Array -> IO [Word8] 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 #
glBindVertexArray :: Ctx -> VertexArrayObject -> 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 -> AnyArray -> GLEnum -> IO () Source #
glBufferSubData :: Ctx -> GLEnum -> GLPtrDiff -> AnyArray -> 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 -> UInt8Array -> IO () Source #
glCompressedTexSubImage2D :: Ctx -> GLEnum -> GLInt -> GLInt -> GLInt -> GLSize -> GLSize -> GLEnum -> UInt8Array -> 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 #
glCreateVertexArray :: Ctx -> IO VertexArrayObject 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 #
glDeleteVertexArray :: Ctx -> VertexArrayObject -> 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 #
glDrawBuffers :: Ctx -> Int32Array -> 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 #
glIsVertexArray :: Ctx -> VertexArrayObject -> 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 -> UInt8Array -> 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 #
glTexImage2DUInt :: Ctx -> GLEnum -> GLInt -> GLInt -> GLSize -> GLSize -> GLInt -> GLEnum -> GLEnum -> UInt8Array -> IO () Source #
glTexImage2DFloat :: Ctx -> GLEnum -> GLInt -> GLInt -> GLSize -> GLSize -> GLInt -> GLEnum -> GLEnum -> Float32Array -> 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 -> UInt8Array -> IO () Source #
glUniform1f :: Ctx -> UniformLocation -> Float -> IO () Source #
glUniform1fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source #
glUniform1i :: Ctx -> UniformLocation -> Int32 -> IO () Source #
glUniform1iv :: Ctx -> UniformLocation -> Int32Array -> IO () Source #
glUniform2f :: Ctx -> UniformLocation -> Float -> Float -> IO () Source #
glUniform2fv :: Ctx -> UniformLocation -> Float32Array -> IO () Source #
glUniform2i :: Ctx -> UniformLocation -> Int32 -> Int32 -> 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 -> Int32 -> Int32 -> Int32 -> 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 -> Int32 -> Int32 -> Int32 -> Int32 -> 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_LOOP :: GLEnum Source #
gl_LINE_STRIP :: GLEnum Source #
gl_TRIANGLES :: GLEnum Source #
gl_TRIANGLE_STRIP :: GLEnum Source #
gl_TRIANGLE_FAN :: GLEnum Source #
gl_SRC_COLOR :: GLEnum Source #
gl_ONE_MINUS_SRC_COLOR :: GLEnum Source #
gl_SRC_ALPHA :: GLEnum Source #
gl_ONE_MINUS_SRC_ALPHA :: GLEnum Source #
gl_DST_ALPHA :: GLEnum Source #
gl_ONE_MINUS_DST_ALPHA :: GLEnum Source #
gl_DST_COLOR :: GLEnum Source #
gl_ONE_MINUS_DST_COLOR :: GLEnum Source #
gl_SRC_ALPHA_SATURATE :: GLEnum Source #
gl_FUNC_ADD :: 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_CULL_FACE :: 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_NO_ERROR :: 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_VIEWPORT :: 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_RED_BITS :: GLEnum Source #
gl_GREEN_BITS :: GLEnum Source #
gl_BLUE_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_SAMPLES :: GLEnum Source #
gl_SAMPLE_COVERAGE_VALUE :: GLEnum Source #
gl_SAMPLE_COVERAGE_INVERT :: GLEnum Source #
gl_COMPRESSED_TEXTURE_FORMATS :: GLEnum Source #
gl_DONT_CARE :: GLEnum Source #
gl_FASTEST :: GLEnum Source #
gl_GENERATE_MIPMAP_HINT :: GLEnum Source #
gl_UNSIGNED_BYTE :: GLEnum Source #
gl_UNSIGNED_SHORT :: GLEnum Source #
gl_UNSIGNED_INT :: GLEnum Source #
gl_UNSIGNED_INT_24_8 :: GLEnum Source #
gl_DEPTH_COMPONENT :: GLEnum Source #
gl_DEPTH_STENCIL :: GLEnum Source #
gl_RGBA32F :: GLEnum Source #
gl_LUMINANCE :: 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_GREATER :: GLEnum Source #
gl_NOTEQUAL :: GLEnum Source #
gl_REPLACE :: GLEnum Source #
gl_INCR_WRAP :: GLEnum Source #
gl_DECR_WRAP :: GLEnum Source #
gl_RENDERER :: GLEnum Source #
gl_VERSION :: GLEnum Source #
gl_NEAREST :: 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 :: 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_TEXTURE0 :: GLEnum Source #
gl_TEXTURE1 :: GLEnum Source #
gl_TEXTURE2 :: GLEnum Source #
gl_TEXTURE3 :: GLEnum Source #
gl_TEXTURE4 :: GLEnum Source #
gl_TEXTURE5 :: GLEnum Source #
gl_TEXTURE6 :: GLEnum Source #
gl_TEXTURE7 :: GLEnum Source #
gl_TEXTURE8 :: GLEnum Source #
gl_TEXTURE9 :: GLEnum Source #
gl_TEXTURE10 :: GLEnum Source #
gl_TEXTURE11 :: GLEnum Source #
gl_TEXTURE12 :: GLEnum Source #
gl_TEXTURE13 :: GLEnum Source #
gl_TEXTURE14 :: GLEnum Source #
gl_TEXTURE15 :: GLEnum Source #
gl_TEXTURE16 :: GLEnum Source #
gl_TEXTURE17 :: GLEnum Source #
gl_TEXTURE18 :: GLEnum Source #
gl_TEXTURE19 :: GLEnum Source #
gl_TEXTURE20 :: GLEnum Source #
gl_TEXTURE21 :: GLEnum Source #
gl_TEXTURE22 :: GLEnum Source #
gl_TEXTURE23 :: GLEnum Source #
gl_TEXTURE24 :: GLEnum Source #
gl_TEXTURE25 :: GLEnum Source #
gl_TEXTURE26 :: GLEnum Source #
gl_TEXTURE27 :: GLEnum Source #
gl_TEXTURE28 :: GLEnum Source #
gl_TEXTURE29 :: GLEnum Source #
gl_TEXTURE30 :: GLEnum Source #
gl_TEXTURE31 :: 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_INT_VEC2 :: GLEnum Source #
gl_INT_VEC3 :: GLEnum Source #
gl_INT_VEC4 :: GLEnum Source #
gl_BOOL_VEC2 :: GLEnum Source #
gl_BOOL_VEC3 :: GLEnum Source #
gl_BOOL_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_LOW_FLOAT :: GLEnum Source #
gl_MEDIUM_FLOAT :: GLEnum Source #
gl_HIGH_FLOAT :: GLEnum Source #
gl_LOW_INT :: GLEnum Source #
gl_MEDIUM_INT :: GLEnum Source #
gl_HIGH_INT :: GLEnum Source #
gl_FRAMEBUFFER :: GLEnum Source #
gl_RENDERBUFFER :: GLEnum Source #
gl_RGB5_A1 :: 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_MAX_DRAW_BUFFERS :: GLEnum Source #
gl_DRAW_BUFFER0 :: GLEnum Source #
gl_DRAW_BUFFER1 :: GLEnum Source #
gl_DRAW_BUFFER2 :: GLEnum Source #
gl_DRAW_BUFFER3 :: GLEnum Source #
gl_DRAW_BUFFER4 :: GLEnum Source #
gl_DRAW_BUFFER5 :: GLEnum Source #
gl_DRAW_BUFFER6 :: GLEnum Source #
gl_DRAW_BUFFER7 :: GLEnum Source #
gl_DRAW_BUFFER8 :: GLEnum Source #
gl_DRAW_BUFFER9 :: GLEnum Source #
gl_DRAW_BUFFER10 :: GLEnum Source #
gl_DRAW_BUFFER11 :: GLEnum Source #
gl_DRAW_BUFFER12 :: GLEnum Source #
gl_DRAW_BUFFER13 :: GLEnum Source #
gl_DRAW_BUFFER14 :: GLEnum Source #
gl_DRAW_BUFFER15 :: GLEnum Source #
gl_MAX_COLOR_ATTACHMENTS :: GLEnum Source #
gl_COLOR_ATTACHMENT0 :: GLEnum Source #
gl_COLOR_ATTACHMENT1 :: GLEnum Source #
gl_COLOR_ATTACHMENT2 :: GLEnum Source #
gl_COLOR_ATTACHMENT3 :: GLEnum Source #
gl_COLOR_ATTACHMENT4 :: GLEnum Source #
gl_COLOR_ATTACHMENT5 :: GLEnum Source #
gl_COLOR_ATTACHMENT6 :: GLEnum Source #
gl_COLOR_ATTACHMENT7 :: GLEnum Source #
gl_COLOR_ATTACHMENT8 :: GLEnum Source #
gl_COLOR_ATTACHMENT9 :: GLEnum Source #
gl_COLOR_ATTACHMENT10 :: GLEnum Source #
gl_COLOR_ATTACHMENT11 :: GLEnum Source #
gl_COLOR_ATTACHMENT12 :: GLEnum Source #
gl_COLOR_ATTACHMENT13 :: GLEnum Source #
gl_COLOR_ATTACHMENT14 :: GLEnum Source #
gl_COLOR_ATTACHMENT15 :: GLEnum Source #
gl_DEPTH_ATTACHMENT :: GLEnum Source #
gl_STENCIL_ATTACHMENT :: GLEnum Source #
gl_DEPTH_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 #