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

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

Graphics.Rendering.OpenGL.Raw.KHR.DebugCore

Contents

Description

The KHR_debug extension.

Synopsis

Enums

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.

-> GLenum

type.

-> GLenum

severity.

-> GLsizei

count.

-> Ptr GLuint

ids pointing to count elements of type GLuint.

-> GLboolean

enabled of type [Boolean](Graphics-Rendering-OpenGL-Raw-Groups.html#Boolean).

-> m () 

Manual page for OpenGL 4.x

glDebugMessageInsert Source

Arguments

:: MonadIO m 
=> GLenum

source.

-> GLenum

type.

-> GLuint

id.

-> GLenum

severity.

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

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](Graphics-Rendering-OpenGL-Raw-Groups.html#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.

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

-> GLuint

id.

-> GLsizei

length.

-> Ptr GLchar

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

-> m () 

Manual page for OpenGL 4.x