OpenGL-2.2.3.0: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

Graphics.Rendering.OpenGL.GL.BasicTypes

Description

This module corresponds to section 2.3 (GL Command Sytax) of the OpenGL 2.1 specs.

Synopsis

Documentation

type GLboolean = Word8Source

Boolean (min. 1 bit)

type GLbyte = Int8Source

Signed 2's complement binary integer (min. 8 bits)

type GLubyte = Word8Source

Unsigned binary integer (min. 8 bits)

type GLchar = Int8Source

Characters making up strings

type GLshort = Int16Source

Signed 2's complement binary integer (min. 16 bits)

type GLushort = Word16Source

Unsigned binary integer (min. 16 bits)

type GLint = Int32Source

Signed 2's complement binary integer (min. 32 bits)

type GLuint = Word32Source

Unsigned binary integer (min. 32 bits)

type GLsizei = Int32Source

Non-negatitve binary integer size (min. 32 bits)

type GLenum = Word32Source

Enumerated binary integer value (min. 32 bits)

type GLintptr = Int32Source

Signed 2's complement binary integer (sufficiently large enough to hold any address)

type GLsizeiptr = Int32Source

Non-negatitve binary integer size (sufficiently large enough to hold any address)

type GLbitfield = Word32Source

Bit field (min. 32 bits)

type GLfloat = FloatSource

Floating-point value (min. 32 bits)

type GLclampf = FloatSource

Floating-point value clamped to [0,1] (min. 32 bits)

type GLdouble = DoubleSource

Floating-point value (min. 64 bits)

type GLclampd = DoubleSource

Floating-point value clamped to [0,1] (min. 64 bits)