Portability | portable |
---|---|
Stability | stable |
Maintainer | sven.panne@aedion.de |
Safe Haskell | None |
This is a purely internal module corresponding to some parts of section 2.5 (GL Errors) of the OpenGL 2.1 specs and chapter 8 (Errors) of the GLU specs.
- data Error = Error ErrorCategory String
- data ErrorCategory
- getErrors :: IO [Error]
- recordErrorCode :: GLenum -> IO ()
- recordInvalidEnum :: IO ()
- recordInvalidValue :: IO ()
- recordOutOfMemory :: IO ()
Documentation
GL/GLU errors consist of a general error category and a description of what went wrong.
data ErrorCategory Source
General GL/GLU error categories
recordErrorCode :: GLenum -> IO ()Source
recordInvalidEnum :: IO ()Source
recordInvalidValue :: IO ()Source
recordOutOfMemory :: IO ()Source