Copyright | (c) Sven Panne 2009-2015 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
All types from the whole OpenGL registry.
- 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
- type GLDEBUGPROC = FunPtr GLDEBUGPROCFunc
- type GLDEBUGPROCFunc = GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()
- makeGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc)
- type GLvoid = ()
- type GLcharARB = CChar
- type GLint64EXT = Int64
- type GLuint64EXT = Word64
- type GLintptrARB = CPtrdiff
- type GLsizeiptrARB = CPtrdiff
- type GLhalfARB = CUShort
- type GLhalfNV = CUShort
- type GLDEBUGPROCAMD = FunPtr GLDEBUGPROCAMDFunc
- type GLDEBUGPROCAMDFunc = GLuint -> GLenum -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO ()
- makeGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc)
- type GLDEBUGPROCARB = GLDEBUGPROC
- type GLDEBUGPROCARBFunc = GLDEBUGPROCFunc
- makeGLDEBUGPROCARB :: GLDEBUGPROCARBFunc -> IO (FunPtr GLDEBUGPROCARBFunc)
- type GLDEBUGPROCKHR = GLDEBUGPROC
- type GLDEBUGPROCKHRFunc = GLDEBUGPROCFunc
- makeGLDEBUGPROCKHR :: GLDEBUGPROCKHRFunc -> IO (FunPtr GLDEBUGPROCKHRFunc)
- type GLclampx = CInt
- type GLhandleARB = CUInt
- type GLvdpauSurfaceNV = GLintptr
- type GLeglImageOES = Ptr ()
Types from OpenGL itself.
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.
type GLDEBUGPROC = FunPtr GLDEBUGPROCFunc Source
A pointer to a debug callback.
type GLDEBUGPROCFunc Source
= GLenum |
|
-> GLenum |
|
-> GLuint |
|
-> GLenum |
|
-> GLsizei |
|
-> Ptr GLchar |
|
-> Ptr () |
|
-> IO () |
Debug callback.
makeGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc) Source
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
Pre-standard OpenGL types.
type GLint64EXT = Int64 Source
type GLuint64EXT = Word64 Source
type GLintptrARB = CPtrdiff Source
type GLsizeiptrARB = CPtrdiff Source
type GLDEBUGPROCAMDFunc Source
= GLuint |
|
-> GLenum |
|
-> GLenum |
|
-> GLsizei |
|
-> Ptr GLchar |
|
-> Ptr () |
|
-> IO () |
Debug callback.
makeGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc) Source
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
type GLDEBUGPROCARB = GLDEBUGPROC Source
type GLDEBUGPROCKHR = GLDEBUGPROC Source
Types from various extensions.
type GLhandleARB = CUInt Source
type GLvdpauSurfaceNV = GLintptr Source
type GLeglImageOES = Ptr () Source