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

Contents

Description

 

Synopsis

Extension Support

glGetKHRDebug :: MonadIO m => m Bool Source #

Is the KHR_debug extension supported?

gl_KHR_debug :: Bool Source #

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

Enums

pattern GL_QUERY :: GLenum Source #

Functions

glDebugMessageCallback Source #

Arguments

:: MonadIO m 
=> GLDEBUGPROC

callback.

-> Ptr a

userParam.

-> m () 

Manual page for OpenGL 4.x.

glDebugMessageControl 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 () 

Manual page for OpenGL 4.x.

glDebugMessageInsert 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 COMPSIZE(buf,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetDebugMessageLog 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 

Manual page for OpenGL 4.x.

glGetObjectLabel Source #

Arguments

:: MonadIO m 
=> GLenum

identifier.

-> GLuint

name.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

label pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetObjectPtrLabel Source #

Arguments

:: MonadIO m 
=> Ptr a

ptr.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

label pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetPointerv Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPointervPName.

-> Ptr (Ptr a)

params pointing to 1 element of type Ptr a.

-> m () 

Manual pages for OpenGL 2.x or OpenGL 4.x.

glObjectLabel Source #

Arguments

:: MonadIO m 
=> GLenum

identifier of type ObjectIdentifier.

-> GLuint

name.

-> GLsizei

length.

-> Ptr GLchar

label pointing to COMPSIZE(label,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glObjectPtrLabel Source #

Arguments

:: MonadIO m 
=> Ptr a

ptr.

-> GLsizei

length.

-> Ptr GLchar

label pointing to COMPSIZE(label,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

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

Manual page for OpenGL 4.x.

glPushDebugGroup Source #

Arguments

:: MonadIO m 
=> GLenum

source of type DebugSource.

-> GLuint

id.

-> GLsizei

length.

-> Ptr GLchar

message pointing to COMPSIZE(message,length) elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.