OpenGLRaw-1.5.0.0: A raw binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
MaintainerSven Panne <svenpanne@gmail.com>
Safe HaskellSafe-Inferred

Graphics.Rendering.OpenGL.Raw.Types

Description

This module corresponds to table 2.2 in section 2.2 (Command Syntax) of the OpenGL 4.4 specs.

Synopsis

Documentation

type GLboolean = CUCharSource

1bit boolean.

type GLbyte = CSCharSource

8bit signed two's complement binary integer.

type GLubyte = CUCharSource

8bit unsigned binary integer.

type GLchar = CCharSource

8bit characters making up strings.

type GLshort = CShortSource

16bit signed two's complement binary integer.

type GLushort = CUShortSource

16bit unsigned binary integer.

type GLint = CIntSource

32bit signed two's complement binary integer.

type GLuint = CUIntSource

32bit unsigned binary integer.

type GLfixed = CIntSource

32bit signed two's complement 16.16 scaled integer (introduced in OpenGL 4.1).

type GLint64 = Int64Source

64bit signed two's complement binary integer (introduced in OpenGL 3.2).

type GLuint64 = Word64Source

64bit unsigned binary integer (introduced in OpenGL 3.2).

type GLsizei = CIntSource

32bit non-negative binary integer size.

type GLenum = CUIntSource

32bit enumerated binary integer value.

type GLintptr = CPtrdiffSource

Pointer-sized signed two's complement binary integer.

type GLsizeiptr = CPtrdiffSource

Pointer-sized non-negative binary integer size.

type GLsync = Ptr ()Source

Pointer-sized sync object handle (introduced in OpenGL 3.2).

type GLbitfield = CUIntSource

32bit bit field.

type GLhalf = CUShortSource

16bit half-precision floating-point value encoded in an unsigned scalar.

type GLfloat = CFloatSource

32bit floating-point value.

type GLclampf = CFloatSource

32bit floating-point value clamped to [0, 1] (no longer used in OpenGL 4.3).

type GLdouble = CDoubleSource

64bit floating-point value.

type GLclampd = CDoubleSource

64bit floating-point value clamped to [0, 1] (no longer used in OpenGL 4.3).