lowgl-0.3.1.2: Basic gl wrapper and reference

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Low.Internal.Types

Synopsis

Documentation

newtype Program Source

Handle to a shader program.

Constructors

Program 

Fields

fromProgram :: GLuint
 

newtype Shader Source

Handle to a shader object.

Constructors

Shader 

Fields

fromShader :: GLuint
 

newtype VBO Source

Handle to a VBO.

Constructors

VBO 

Fields

fromVBO :: GLuint
 

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
 

newtype RBO a 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 

Fields

unRBO :: GLuint
 

Instances

Eq (RBO a) Source 
Data a => Data (RBO a) Source 
Ord (RBO a) Source 
Read (RBO a) Source 
Show (RBO a) Source 
Storable (RBO a) Source 
GLObject (RBO a) Source 

newtype Tex2D a Source

A 2D texture. A program can sample a texture if it has been bound to the appropriate texture unit.

Constructors

Tex2D 

Fields

fromTex2D :: GLuint
 

Instances

Eq (Tex2D a) Source 
Data a => Data (Tex2D a) Source 
Ord (Tex2D a) Source 
Read (Tex2D a) Source 
Show (Tex2D a) Source 
Storable (Tex2D a) Source 
GLObject (Tex2D a) Source 
Texture (Tex2D a) Source 

newtype CubeMap a Source

A cubemap texture is just six 2D textures. A program can sample a cubemap texture if it has been bound to the appropriate texture unit.

Constructors

CubeMap 

Fields

fromCubeMap :: GLuint
 

Instances

Eq (CubeMap a) Source 
Data a => Data (CubeMap a) Source 
Ord (CubeMap a) Source 
Read (CubeMap a) Source 
Show (CubeMap a) Source 
Storable (CubeMap a) Source 
GLObject (CubeMap a) Source 
Texture (CubeMap a) Source 

newtype VAO Source

Handle to a VAO.

Constructors

VAO 

Fields

fromVAO :: GLuint
 

Instances