Copyright | (c) Sven Panne 2009-2013 |
---|---|

License | BSD3 |

Maintainer | Sven Panne <svenpanne@gmail.com> |

Stability | stable |

Portability | portable |

Safe Haskell | Safe-Inferred |

Language | Haskell2010 |

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

- type GLboolean = CUChar
- type GLbyte = CSChar
- type GLubyte = CUChar
- type GLchar = CChar
- type GLshort = CShort
- type GLushort = CUShort
- type GLint = CInt
- type GLuint = CUInt
- type GLfixed = CInt
- type GLint64 = Int64
- type GLuint64 = Word64
- type GLsizei = CInt
- type GLenum = CUInt
- type GLintptr = CPtrdiff
- type GLsizeiptr = CPtrdiff
- type GLsync = Ptr ()
- type GLbitfield = CUInt
- type GLhalf = CUShort
- type GLfloat = CFloat
- type GLclampf = CFloat
- type GLdouble = CDouble
- type GLclampd = CDouble

# Documentation

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

type GLsizeiptr = CPtrdiff Source

Pointer-sized non-negative binary integer size.

type GLbitfield = CUInt Source

32bit bit field.

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

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