Portability | portable |
---|---|
Stability | stable |
Maintainer | sven.panne@aedion.de |
Safe Haskell | None |
Graphics.Rendering.OpenGL.GLU.ErrorsInternal
Description
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.
Constructors
Error ErrorCategory String |
data ErrorCategory Source
General GL/GLU error categories
Constructors
InvalidEnum | |
InvalidValue | |
InvalidOperation | |
InvalidFramebufferOperation | |
OutOfMemory | |
StackOverflow | |
StackUnderflow | |
TableTooLarge | |
TesselatorError | |
NURBSError |
Instances
recordErrorCode :: GLenum -> IO ()Source
recordInvalidEnum :: IO ()Source
recordInvalidValue :: IO ()Source
recordOutOfMemory :: IO ()Source