gl-0.6.1: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.DebugOutput

Contents

Synopsis

Extension Support

gl_ARB_debug_output :: Bool Source

Checks that the GL_ARB_debug_output extension is available.

GL_ARB_debug_output

glDebugMessageCallbackARB :: MonadIO m => GLDEBUGPROCARB -> Ptr () -> m () Source

Usage: glDebugMessageCallbackARB callback userParam

The length of userParam should be COMPSIZE(callback).

This command is an alias for glDebugMessageCallback.

glDebugMessageControlARB :: MonadIO m => GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLuint -> GLboolean -> m () Source

Usage: glDebugMessageControlARB source type severity count ids enabled

The parameter enabled is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of ids should be count.

This command is an alias for glDebugMessageControl.

glDebugMessageInsertARB :: MonadIO m => GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> m () Source

Usage: glDebugMessageInsertARB source type id severity length buf

The length of buf should be length.

This command is an alias for glDebugMessageInsert.

glGetDebugMessageLogARB :: MonadIO m => GLuint -> GLsizei -> Ptr GLenum -> Ptr GLenum -> Ptr GLuint -> Ptr GLenum -> Ptr GLsizei -> Ptr GLchar -> m GLuint Source

Usage: glGetDebugMessageLogARB count bufSize sources types ids severities lengths messageLog

The length of sources should be count.

The length of types should be count.

The length of ids should be count.

The length of severities should be count.

The length of lengths should be count.

The length of messageLog should be bufSize.

This command is an alias for glGetDebugMessageLog.

pattern GL_DEBUG_LOGGED_MESSAGES_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_SEVERITY_HIGH_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_SEVERITY_LOW_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_SEVERITY_MEDIUM_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_SOURCE_API_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_SOURCE_OTHER_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_TYPE_ERROR_ARB :: (Num a, Eq a) => a Source

pattern GL_DEBUG_TYPE_OTHER_ARB :: (Num a, Eq a) => a Source