Graphics.GL.Low

In a Nutshell

Overview

Objects

Binding Targets

Shader Programs

VAO

Uniforms and Samplers (Textures)

Texture Objects and Texture Units

Custom Framebuffers

Images and Image Formats

Depth Testing and Stencil Testing

Scissor Test

Coordinate Systems (Mappings)

Rendering Points, Lines, and Triangles

VAO

newVAO

bindVAO

deleteVAO

data VAO

Buffer Objects

newVBO

newElementArray

bindVBO

bindElementArray

updateVBO

updateElementArray

deleteBufferObject

data VBO

data ElementArray

data UsageHint

data IndexFormat

Shader Program

newProgram

newProgramSafe

useProgram

deleteProgram

setUniform1f

setUniform2f

setUniform3f

setUniform4f

setUniform1i

setUniform2i

setUniform3i

setUniform4i

setUniform22

setUniform33

setUniform44

data Program

data ProgramError

Vertex Attributes

setVertexAttributeLayout

type VertexAttributeLayout

data LayoutElement

data ComponentFormat

Textures

newTexture2D

newCubeMap

newEmptyTexture2D

newEmptyCubeMap

deleteTexture

setActiveTextureUnit

bindTexture2D

bindTextureCubeMap

setTex2DFiltering

setCubeMapFiltering

setTex2DWrapping

setCubeMapWrapping

data Tex2D a

data CubeMap a

data Dimensions

data Cube a

type Side

data Filtering

data Wrapping

Rendering

Primitives

drawPoints

drawLines

drawLineStrip

drawLineLoop

drawTriangles

drawTriangleStrip

drawTriangleFan

Primitives by Index

drawIndexedPoints

drawIndexedLines

drawIndexedLineStrip

drawIndexedLineLoop

drawIndexedTriangles

drawIndexedTriangleStrip

drawIndexedTriangleFan

Color Buffer

enableColorWriting

disableColorWriting

clearColorBuffer

Depth Test

enableDepthTest

disableDepthTest

clearDepthBuffer

Stencil Test

enableStencil

disableStencil

clearStencilBuffer

basicStencil

data Stencil

data StencilFunc

data StencilOp

Scissor Test

enableScissorTest

disableScissorTest

Facet Culling

data Culling

enableCulling

disableCulling

Blending

enableBlending

disableBlending

basicBlending

data Blending

data BlendFactor

data BlendEquation

Viewport

data Viewport

setViewport

Framebuffers

data DefaultFramebuffer

data FBO

bindFramebuffer

newFBO

attachTex2D

attachCubeMap

attachRBO

deleteFBO

Renderbuffers

data RBO a

newRBO

deleteRBO

Errors

data GLError

getGLError

Image Formats

data Alpha

data Luminance

data LuminanceAlpha

data RGB

data RGBA

data Depth24

data Depth24Stencil8

Classes

class InternalFormat a

class Framebuffer a

class Texture a

class Attachable a