Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 20 (Debug Output) of the OpenGL 4.5 specs.
- debugOutput :: StateVar Capability
- data DebugMessage = DebugMessage DebugSource DebugType DebugMessageID DebugSeverity String
- data DebugSource
- data DebugType
- newtype DebugMessageID = DebugMessageID GLuint
- data DebugSeverity
- maxDebugMessageLength :: GettableStateVar GLsizei
- debugMessageCallback :: StateVar (Maybe (DebugMessage -> IO ()))
- maxDebugLoggedMessages :: GettableStateVar GLsizei
- debugLoggedMessages :: IO [DebugMessage]
- data MessageGroup
- debugMessageControl :: MessageGroup -> SettableStateVar Capability
- debugMessageInsert :: DebugMessage -> IO ()
- data DebugGroup = DebugGroup DebugSource DebugMessageID String
- pushDebugGroup :: DebugSource -> DebugMessageID -> String -> IO ()
- popDebugGroup :: IO ()
- withDebugGroup :: DebugSource -> DebugMessageID -> String -> IO a -> IO a
- maxDebugGroupStackDepth :: GettableStateVar GLsizei
- class CanBeLabeled a where
- maxLabelLength :: GettableStateVar GLsizei
- debugOutputSynchronous :: StateVar Capability
Debug Messages
data DebugMessage Source #
data DebugSource Source #
newtype DebugMessageID Source #
data DebugSeverity Source #
Debug Message Callback
debugMessageCallback :: StateVar (Maybe (DebugMessage -> IO ())) Source #
Debug Message Log
Controlling Debug Messages
data MessageGroup Source #
Externally Generated Messages
debugMessageInsert :: DebugMessage -> IO () Source #
Debug Groups
pushDebugGroup :: DebugSource -> DebugMessageID -> String -> IO () Source #
popDebugGroup :: IO () Source #
withDebugGroup :: DebugSource -> DebugMessageID -> String -> IO a -> IO a Source #
Debug Labels
class CanBeLabeled a where Source #