gl-0.9: 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

Description

 
Synopsis

Types

Function Types

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

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

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

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

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

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 Source #

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 Source #

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 Source #

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

Common Types

type GLfixed = Fixed Source #

type GLhalf = Half Source #

type GLhalfARB = Half Source #

type GLhalfNV = Half Source #

type GLsync = Ptr () Source #