gl-0.7.5: Complete OpenGL raw bindings

Copyright(C) 2014-2015 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 ()) 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 GLsync = Ptr () Source