gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.KHR.Debug

Synopsis

Extension Support

gl_KHR_debug :: Bool Source #

Checks that the GL_KHR_debug extension is available.

GL_KHR_debug

glDebugMessageCallbackKHR :: MonadIO m => GLDEBUGPROCKHR -> Ptr () -> m () Source #

Usage: glDebugMessageCallbackKHR callback userParam

This command is an alias for glDebugMessageCallback.

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

Usage: glDebugMessageControl 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.

Manual page: https://www.opengl.org/sdk/docs/man/html/glDebugMessageControl.xhtml

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

Usage: glDebugMessageControlKHR source type severity count ids enabled

This command is an alias for glDebugMessageControl.

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

Usage: glDebugMessageInsert source type id severity length buf

The length of buf should be COMPSIZE(buf,length).

Manual page: https://www.opengl.org/sdk/docs/man/html/glDebugMessageInsert.xhtml

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

Usage: glDebugMessageInsertKHR source type id severity length buf

This command is an alias for glDebugMessageInsert.

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

Usage: glGetDebugMessageLog 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.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetDebugMessageLog.xhtml

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

Usage: glGetDebugMessageLogKHR 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.

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

Usage: glGetObjectLabel identifier name bufSize length label

The length of length should be 1.

The length of label should be bufSize.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetObjectLabel.xhtml

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

Usage: glGetObjectLabelKHR identifier name bufSize length label

The length of label should be bufSize.

This command is an alias for glGetObjectLabel.

glGetObjectPtrLabel :: MonadIO m => Ptr () -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #

Usage: glGetObjectPtrLabel ptr bufSize length label

The length of length should be 1.

The length of label should be bufSize.

Manual page: https://www.opengl.org/sdk/docs/man/html/glGetObjectPtrLabel.xhtml

glGetObjectPtrLabelKHR :: MonadIO m => Ptr () -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #

Usage: glGetObjectPtrLabelKHR ptr bufSize length label

The length of length should be 1.

The length of label should be bufSize.

This command is an alias for glGetObjectPtrLabel.

glGetPointervKHR :: MonadIO m => GLenum -> Ptr (Ptr ()) -> m () Source #

Usage: glGetPointervKHR pname params

This command is an alias for glGetPointerv.

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

Usage: glObjectLabel identifier name length label

The length of label should be COMPSIZE(label,length).

Manual page: https://www.opengl.org/sdk/docs/man/html/glObjectLabel.xhtml

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

Usage: glObjectLabelKHR identifier name length label

This command is an alias for glObjectLabel.

glObjectPtrLabel :: MonadIO m => Ptr () -> GLsizei -> Ptr GLchar -> m () Source #

Usage: glObjectPtrLabel ptr length label

The length of label should be COMPSIZE(label,length).

Manual page: https://www.opengl.org/sdk/docs/man/html/glObjectPtrLabel.xhtml

glObjectPtrLabelKHR :: MonadIO m => Ptr () -> GLsizei -> Ptr GLchar -> m () Source #

Usage: glObjectPtrLabelKHR ptr length label

This command is an alias for glObjectPtrLabel.

glPopDebugGroupKHR :: MonadIO m => m () Source #

Usage: glPopDebugGroupKHR

This command is an alias for glPopDebugGroup.

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

Usage: glPushDebugGroup source id length message

The length of message should be COMPSIZE(message,length).

Manual page: https://www.opengl.org/sdk/docs/man/html/glPushDebugGroup.xhtml

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

Usage: glPushDebugGroupKHR source id length message

This command is an alias for glPushDebugGroup.

pattern GL_BUFFER :: (Eq a, Num a) => a Source #

pattern GL_BUFFER_KHR :: (Eq a, Num a) => a Source #

pattern GL_CONTEXT_FLAG_DEBUG_BIT :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_CALLBACK_FUNCTION :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_CALLBACK_USER_PARAM :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_GROUP_STACK_DEPTH :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_LOGGED_MESSAGES :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_LOGGED_MESSAGES_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_OUTPUT :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_OUTPUT_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_OUTPUT_SYNCHRONOUS :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_HIGH :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_HIGH_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_LOW :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_LOW_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_MEDIUM :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SEVERITY_MEDIUM_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_API :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_API_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_APPLICATION :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_OTHER :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_OTHER_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_SOURCE_THIRD_PARTY :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_ERROR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_ERROR_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_MARKER :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_MARKER_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_OTHER :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_OTHER_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_PERFORMANCE :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_POP_GROUP :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_POP_GROUP_KHR :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_PORTABILITY :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_PUSH_GROUP :: (Eq a, Num a) => a Source #

pattern GL_DEBUG_TYPE_PUSH_GROUP_KHR :: (Eq a, Num a) => a Source #

pattern GL_DISPLAY_LIST :: (Eq a, Num a) => a Source #

pattern GL_MAX_DEBUG_LOGGED_MESSAGES :: (Eq a, Num a) => a Source #

pattern GL_MAX_DEBUG_MESSAGE_LENGTH :: (Eq a, Num a) => a Source #

pattern GL_MAX_LABEL_LENGTH :: (Eq a, Num a) => a Source #

pattern GL_MAX_LABEL_LENGTH_KHR :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_KHR :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_PIPELINE :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_PIPELINE_KHR :: (Eq a, Num a) => a Source #

pattern GL_QUERY :: (Eq a, Num a) => a Source #

pattern GL_QUERY_KHR :: (Eq a, Num a) => a Source #

pattern GL_SAMPLER :: (Eq a, Num a) => a Source #

pattern GL_SAMPLER_KHR :: (Eq a, Num a) => a Source #

pattern GL_SHADER :: (Eq a, Num a) => a Source #

pattern GL_SHADER_KHR :: (Eq a, Num a) => a Source #

pattern GL_STACK_OVERFLOW :: (Eq a, Num a) => a Source #

pattern GL_STACK_OVERFLOW_KHR :: (Eq a, Num a) => a Source #

pattern GL_STACK_UNDERFLOW :: (Eq a, Num a) => a Source #

pattern GL_STACK_UNDERFLOW_KHR :: (Eq a, Num a) => a Source #

pattern GL_VERTEX_ARRAY :: (Eq a, Num a) => a Source #

pattern GL_VERTEX_ARRAY_KHR :: (Eq a, Num a) => a Source #