gl-0.8.0: Complete OpenGL raw bindings

Copyright(C) 2014-2016 Edward Kmett and Gabríel Arthúr Pétursson
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Types

Contents

Description

 

Synopsis

Types

Function Types

type GLDEBUGPROC = FunPtr (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) #

type GLDEBUGPROCAMD = FunPtr (GLuint -> GLenum -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) #

type GLDEBUGPROCARB = FunPtr (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) #

type GLDEBUGPROCKHR = FunPtr (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) #

mkGLDEBUGPROC :: (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) -> IO GLDEBUGPROC #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkGLDEBUGPROCAMD :: (GLuint -> GLenum -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) -> IO GLDEBUGPROCAMD #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkGLDEBUGPROCARB :: (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) -> IO GLDEBUGPROCARB #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkGLDEBUGPROCKHR :: (GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()) -> IO GLDEBUGPROCKHR #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

Common Types

type GLbyte = Int8 #

type GLchar = CChar #

type GLeglImageOES = Ptr () #

type GLenum = Word32 #

type GLfixed = Fixed #

type GLfloat = Float #

type GLhalf = Half #

type GLhalfNV = Half #

type GLint = Int32 #

type GLint64 = Int64 #

type GLshort = Int16 #

type GLsizei = Int32 #

type GLsync = Ptr () #

type GLubyte = Word8 #

type GLuint = Word32 #