lowgl-0.4.0.1: Basic gl wrapper and reference

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Low.Types

Synopsis

Documentation

newtype VAO Source

Handle to a VAO.

Constructors

VAO 

Fields

fromVAO :: GLuint
 

Instances

Show VAO Source 

newtype BufferObject Source

Handle to a buffer object, such as a VBO or an element array.

Constructors

BufferObject 

Instances

newtype FBO Source

A framebuffer object is an alternative rendering destination. Once an FBO is bound to framebuffer binding target, it is possible to attach images (textures or RBOs) for color, depth, or stencil rendering.

Constructors

FBO 

Fields

fromFBO :: GLuint
 

Instances

Show FBO Source 

data RBO Source

An RBO is a kind of image object used for rendering. The only thing you can do with an RBO is attach it to an FBO.

Constructors

RBO 

Instances

Show RBO Source 

data Texture Source

Handle to a texture object. It may be a Tex2D or a cubemap.

Constructors

Texture 

newtype Program Source

Handle to a shader program.

Constructors

Program 

Fields

fromProgram :: GLuint
 

Instances

newtype Shader Source

Handle to a shader object.

Constructors

Shader 

Fields

fromShader :: GLuint
 

Instances

Show Shader Source