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

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

Graphics.Rendering.OpenGL.Raw.Core31.Types

Description

This module corresponds to table 2.2 in section 2.3 (Command Syntax) of the OpenGL 3.1 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 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 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).