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

Copyright(c) Sven Panne 2017
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.DebugOutput

Contents

Description

 

Synopsis

Extension Support

glGetARBDebugOutput :: MonadIO m => m Bool Source #

Is the ARB_debug_output extension supported?

gl_ARB_debug_output :: Bool Source #

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

Functions

glDebugMessageCallbackARB Source #

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 Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLenum

type of type DebugType.

-> GLenum

severity of type DebugSeverity.

-> 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 Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLenum

type of type DebugType.

-> GLuint

id.

-> GLenum

severity of type DebugSeverity.

-> GLsizei

length.

-> Ptr GLchar

buf pointing to length elements of type GLchar.

-> m () 

This command is an alias for glDebugMessageInsert.

glGetDebugMessageLogARB Source #

Arguments

:: MonadIO m 
=> GLuint

count.

-> GLsizei

bufSize.

-> Ptr GLenum

sources pointing to count elements of type DebugSource.

-> Ptr GLenum

types pointing to count elements of type DebugType.

-> Ptr GLuint

ids pointing to count elements of type GLuint.

-> Ptr GLenum

severities pointing to count elements of type DebugSeverity.

-> 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.