OpenGLRaw-2.6.0.0: A raw binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2015
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell2010

Graphics.Rendering.OpenGL.Raw.ARB.DebugOutput

Contents

- Extension Support
- Enums
- Functions

Description

Synopsis

- glGetARBDebugOutput :: MonadIO m => m Bool
- gl_ARB_debug_output :: Bool
- gl_DEBUG_CALLBACK_FUNCTION_ARB :: GLenum
- gl_DEBUG_CALLBACK_USER_PARAM_ARB :: GLenum
- gl_DEBUG_LOGGED_MESSAGES_ARB :: GLenum
- gl_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB :: GLenum
- gl_DEBUG_OUTPUT_SYNCHRONOUS_ARB :: GLenum
- gl_DEBUG_SEVERITY_HIGH_ARB :: GLenum
- gl_DEBUG_SEVERITY_LOW_ARB :: GLenum
- gl_DEBUG_SEVERITY_MEDIUM_ARB :: GLenum
- gl_DEBUG_SOURCE_API_ARB :: GLenum
- gl_DEBUG_SOURCE_APPLICATION_ARB :: GLenum
- gl_DEBUG_SOURCE_OTHER_ARB :: GLenum
- gl_DEBUG_SOURCE_SHADER_COMPILER_ARB :: GLenum
- gl_DEBUG_SOURCE_THIRD_PARTY_ARB :: GLenum
- gl_DEBUG_SOURCE_WINDOW_SYSTEM_ARB :: GLenum
- gl_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB :: GLenum
- gl_DEBUG_TYPE_ERROR_ARB :: GLenum
- gl_DEBUG_TYPE_OTHER_ARB :: GLenum
- gl_DEBUG_TYPE_PERFORMANCE_ARB :: GLenum
- gl_DEBUG_TYPE_PORTABILITY_ARB :: GLenum
- gl_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB :: GLenum
- gl_MAX_DEBUG_LOGGED_MESSAGES_ARB :: GLenum
- gl_MAX_DEBUG_MESSAGE_LENGTH_ARB :: GLenum
- glDebugMessageCallbackARB :: MonadIO m => GLDEBUGPROCARB -> Ptr a -> m ()
- glDebugMessageControlARB :: MonadIO m => GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLuint -> GLboolean -> m ()
- glDebugMessageInsertARB :: MonadIO m => GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> m ()
- glGetDebugMessageLogARB :: MonadIO m => GLuint -> GLsizei -> Ptr GLenum -> Ptr GLenum -> Ptr GLuint -> Ptr GLenum -> Ptr GLsizei -> Ptr GLchar -> m GLuint

# Extension Support

glGetARBDebugOutput :: MonadIO m => m Bool

Is the ARB_debug_output extension supported?

gl_ARB_debug_output :: Bool

Is the ARB_debug_output extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use `glGetARBDebugOutput` in those cases instead.

# Enums

gl_DEBUG_CALLBACK_FUNCTION_ARB :: GLenum

gl_DEBUG_CALLBACK_USER_PARAM_ARB :: GLenum

gl_DEBUG_LOGGED_MESSAGES_ARB :: GLenum

gl_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB :: GLenum

gl_DEBUG_OUTPUT_SYNCHRONOUS_ARB :: GLenum

gl_DEBUG_SEVERITY_HIGH_ARB :: GLenum

gl_DEBUG_SEVERITY_LOW_ARB :: GLenum

gl_DEBUG_SEVERITY_MEDIUM_ARB :: GLenum

gl_DEBUG_SOURCE_API_ARB :: GLenum

gl_DEBUG_SOURCE_APPLICATION_ARB :: GLenum

gl_DEBUG_SOURCE_OTHER_ARB :: GLenum

gl_DEBUG_SOURCE_SHADER_COMPILER_ARB :: GLenum

gl_DEBUG_SOURCE_THIRD_PARTY_ARB :: GLenum

gl_DEBUG_SOURCE_WINDOW_SYSTEM_ARB :: GLenum

gl_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB :: GLenum

gl_DEBUG_TYPE_ERROR_ARB :: GLenum

gl_DEBUG_TYPE_OTHER_ARB :: GLenum

gl_DEBUG_TYPE_PERFORMANCE_ARB :: GLenum

gl_DEBUG_TYPE_PORTABILITY_ARB :: GLenum

gl_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB :: GLenum

gl_MAX_DEBUG_LOGGED_MESSAGES_ARB :: GLenum

gl_MAX_DEBUG_MESSAGE_LENGTH_ARB :: GLenum

# Functions

glDebugMessageCallbackARB

Arguments

:: MonadIO m |
=> GLDEBUGPROCARB | `callback`.
-> Ptr a | `userParam` pointing to `COMPSIZE(callback)` elements of type `a`.
-> m () |

This command is an alias for `glDebugMessageCallback`.

glDebugMessageControlARB

Arguments

:: MonadIO m |
=> GLenum | `source`.
-> GLenum | `type`.
-> GLenum | `severity`.
-> GLsizei | `count`.
-> Ptr GLuint | `ids` pointing to `count` elements of type `GLuint`.
-> GLboolean | `enabled` of type Boolean.
-> m () |

This command is an alias for `glDebugMessageControl`.

glDebugMessageInsertARB

Arguments

:: MonadIO m |
=> GLenum | `source`.
-> GLenum | `type`.
-> GLuint | `id`.
-> GLenum | `severity`.
-> GLsizei | `length`.
-> Ptr GLchar | `buf` pointing to `length` elements of type `GLchar`.
-> m () |

This command is an alias for `glDebugMessageInsert`.

glGetDebugMessageLogARB

Arguments

:: MonadIO m |
=> GLuint | `count`.
-> GLsizei | `bufSize`.
-> Ptr GLenum | `sources` pointing to `count` elements of type `GLenum`.
-> Ptr GLenum | `types` pointing to `count` elements of type `GLenum`.
-> Ptr GLuint | `ids` pointing to `count` elements of type `GLuint`.
-> Ptr GLenum | `severities` pointing to `count` elements of type `GLenum`.
-> Ptr GLsizei | `lengths` pointing to `count` elements of type `GLsizei`.
-> Ptr GLchar | `messageLog` pointing to `bufSize` elements of type `GLchar`.
-> m GLuint |

This command is an alias for `glGetDebugMessageLog`.