| Copyright | (c) Sven Panne 2009-2015 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.Rendering.OpenGL.Raw.Types
Description
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 = Half
- 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 = 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 = CInt
- type GLhandleARB = CUInt
- type GLvdpauSurfaceNV = GLintptr
- type GLeglImageOES = Ptr ()
Types from OpenGL itself.
type GLsizeiptr = CPtrdiff
Pointer-sized non-negative binary integer size.
type GLbitfield = CUInt
32bit bit field.
type GLDEBUGPROC = FunPtr GLDEBUGPROCFunc
A pointer to a debug callback.
type GLDEBUGPROCFunc
Arguments
| = GLenum |
|
| -> GLenum |
|
| -> GLuint |
|
| -> GLenum |
|
| -> GLsizei |
|
| -> Ptr GLchar |
|
| -> Ptr () |
|
| -> IO () |
Debug callback.
makeGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc)
The storage associated with the resulting FunPtr has to be released with
freeHaskellFunPtr when it is no longer required.
type GLvoid = ()
Not an actual GL type, though used in headers in the past.
Pre-standard OpenGL types.
type GLint64EXT = Int64
type GLuint64EXT = Word64
type GLintptrARB = CPtrdiff
type GLsizeiptrARB = CPtrdiff
type GLDEBUGPROCAMDFunc
Arguments
| = GLuint |
|
| -> GLenum |
|
| -> GLenum |
|
| -> GLsizei |
|
| -> Ptr GLchar |
|
| -> Ptr () |
|
| -> IO () |
Debug callback.
makeGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc)
The storage associated with the resulting FunPtr has to be released with
freeHaskellFunPtr when it is no longer required.
type GLDEBUGPROCARB = GLDEBUGPROC
type GLDEBUGPROCKHR = GLDEBUGPROC
Types from various extensions.
type GLhandleARB = CUInt
type GLvdpauSurfaceNV = GLintptr
type GLeglImageOES = Ptr ()