HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleOpenGLRaw-3.3.4.1Haskell2010

Graphics.GL.Core43

  • 24 types
  • 535 values
  • PackageOpenGLRaw-3.3.4.1
  • Exports1863
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs

Types

25 declarations
typetype GLbyte = Int8
#

8bit signed two's complement binary integer.

typetype GLchar = CChar
#

8bit characters making up strings.

typetype GLclampd = Double
#

64bit floating-point value clamped to [0, 1].

typetype GLclampf = Float
#

32bit floating-point value clamped to [0, 1].

typetype GLenum = Word32
#

32bit enumerated binary integer value.

typetype GLhalf = Half
#

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

typetype GLint = Int32
#

32bit signed two's complement binary integer.

typetype GLint64 = Int64
#

64bit signed two's complement binary integer.

typetype GLintptr = CPtrdiff
#

Pointer-sized signed two's complement binary integer.

typetype GLshort = Int16
#

16bit signed two's complement binary integer.

typetype GLsizei = Int32
#

32bit non-negative binary integer size.

typetype GLsync = Ptr ()
#

Pointer-sized sync object handle.

typetype GLvoid = ()
#

Not an actual GL type, though used in headers in the past.

Enums

1304 declarations

Functions

534 declarations
valueglGetDebugMessageLog
  1. :: MonadIO m
  2. => GLuint

    count.

  3. -> GLsizei

    bufSize.

  4. -> Ptr GLenum

    sources pointing to count elements of type DebugSource.

  5. -> Ptr GLenum

    types pointing to count elements of type DebugType.

  6. -> Ptr GLuint

    ids pointing to count elements of type GLuint.

  7. -> Ptr GLenum

    severities pointing to count elements of type DebugSeverity.

  8. -> Ptr GLsizei

    lengths pointing to count elements of type GLsizei.

  9. -> Ptr GLchar

    messageLog pointing to bufSize elements of type GLchar.

  10. -> m GLuint
#

Manual page for OpenGL 4.x.