Copyright | (c) Sven Panne 2009-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
All types from the whole OpenGL registry.
Synopsis
- type GLboolean = Word8
- type GLbyte = Int8
- type GLubyte = Word8
- type GLchar = CChar
- type GLshort = Int16
- type GLushort = Word16
- type GLint = Int32
- type GLuint = Word32
- type GLfixed = Fixed
- type GLint64 = Int64
- type GLuint64 = Word64
- type GLsizei = Int32
- type GLenum = Word32
- type GLintptr = CPtrdiff
- type GLsizeiptr = CPtrdiff
- type GLsync = Ptr ()
- type GLbitfield = Word32
- type GLhalf = Half
- type GLfloat = Float
- type GLclampf = Float
- type GLdouble = Double
- type GLclampd = Double
- 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 = Half
- type GLhalfNV = Half
- 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 = Fixed
- type GLhandleARB = Word32
- type GLvdpauSurfaceNV = GLintptr
- type GLeglImageOES = Ptr ()
- type GLeglClientBufferEXT = Ptr ()
- type GLVULKANPROCNVFunc = IO ()
- type GLVULKANPROCNV = FunPtr GLVULKANPROCNVFunc
- mkGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc)
- mkGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc)
- mkGLDEBUGPROCARB :: GLDEBUGPROCARBFunc -> IO (FunPtr GLDEBUGPROCARBFunc)
- mkGLDEBUGPROCKHR :: GLDEBUGPROCKHRFunc -> IO (FunPtr GLDEBUGPROCKHRFunc)
Types from OpenGL itself.
type GLsizeiptr = CPtrdiff Source #
Pointer-sized non-negative binary integer size.
type GLbitfield = Word32 Source #
32bit bit field.
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 GLDEBUGPROCARBFunc = GLDEBUGPROCFunc Source #
type GLDEBUGPROCKHR = GLDEBUGPROC Source #
type GLDEBUGPROCKHRFunc = GLDEBUGPROCFunc Source #
Types from various extensions.
type GLhandleARB = Word32 Source #
type GLvdpauSurfaceNV = GLintptr Source #
type GLeglImageOES = Ptr () Source #
type GLeglClientBufferEXT = Ptr () Source #
type GLVULKANPROCNVFunc = IO () Source #
Deprecated functions for gl
compatibility.
mkGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc) Source #
Deprecated: Use makeGLDEBUGPROC
instead.
mkGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc) Source #
Deprecated: Use makeGLDEBUGPROCAMD
instead.
mkGLDEBUGPROCARB :: GLDEBUGPROCARBFunc -> IO (FunPtr GLDEBUGPROCARBFunc) Source #
Deprecated: Use makekGLDEBUGPROCARB
instead.
mkGLDEBUGPROCKHR :: GLDEBUGPROCKHRFunc -> IO (FunPtr GLDEBUGPROCKHRFunc) Source #
Deprecated: Use makeGLDEBUGPROCKHR
instead.