Package org.lwjgl.opengl
Class KHRDebug
java.lang.Object
org.lwjgl.opengl.KHRDebug
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Returned by GetIntegerv when <pname> is CONTEXT_FLAGS:static final int
Tokens accepted by the <pname> parameter of GetPointerv:static final int
Tokens accepted by the <pname> parameter of GetPointerv:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:static final int
Tokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:static final int
Tokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:static final int
Tokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel: -
Method Summary
Modifier and TypeMethodDescriptionstatic void
glDebugMessageCallback
(KHRDebugCallback callback) TheKHRDebugCallback.Handler
implementation passed to this method will be used for KHR_debug messages.static void
glDebugMessageControl
(int source, int type, int severity, IntBuffer ids, boolean enabled) static void
glDebugMessageInsert
(int source, int type, int id, int severity, CharSequence buf) Overloads glDebugMessageInsert.static void
glDebugMessageInsert
(int source, int type, int id, int severity, ByteBuffer buf) static int
glGetDebugMessageLog
(int count, IntBuffer sources, IntBuffer types, IntBuffer ids, IntBuffer severities, IntBuffer lengths, ByteBuffer messageLog) static String
glGetObjectLabel
(int identifier, int name, int bufSize) Overloads glGetObjectLabel.static void
glGetObjectLabel
(int identifier, int name, IntBuffer length, ByteBuffer label) static String
glGetObjectPtrLabel
(PointerWrapper ptr, int bufSize) Overloads glGetObjectPtrLabel.static void
glGetObjectPtrLabel
(PointerWrapper ptr, IntBuffer length, ByteBuffer label) static void
glObjectLabel
(int identifier, int name, CharSequence label) Overloads glObjectLabel.static void
glObjectLabel
(int identifier, int name, ByteBuffer label) static void
glObjectPtrLabel
(PointerWrapper ptr, CharSequence label) Overloads glObjectPtrLabel.static void
glObjectPtrLabel
(PointerWrapper ptr, ByteBuffer label) static void
static void
glPushDebugGroup
(int source, int id, CharSequence message) Overloads glPushDebugGroup.static void
glPushDebugGroup
(int source, int id, ByteBuffer message)
-
Field Details
-
GL_DEBUG_OUTPUT
public static final int GL_DEBUG_OUTPUTTokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:- See Also:
-
GL_DEBUG_OUTPUT_SYNCHRONOUS
public static final int GL_DEBUG_OUTPUT_SYNCHRONOUSTokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:- See Also:
-
GL_CONTEXT_FLAG_DEBUG_BIT
public static final int GL_CONTEXT_FLAG_DEBUG_BITReturned by GetIntegerv when <pname> is CONTEXT_FLAGS:- See Also:
-
GL_MAX_DEBUG_MESSAGE_LENGTH
public static final int GL_MAX_DEBUG_MESSAGE_LENGTHTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_MAX_DEBUG_LOGGED_MESSAGES
public static final int GL_MAX_DEBUG_LOGGED_MESSAGESTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_DEBUG_LOGGED_MESSAGES
public static final int GL_DEBUG_LOGGED_MESSAGESTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTHTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_MAX_DEBUG_GROUP_STACK_DEPTH
public static final int GL_MAX_DEBUG_GROUP_STACK_DEPTHTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_DEBUG_GROUP_STACK_DEPTH
public static final int GL_DEBUG_GROUP_STACK_DEPTHTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_MAX_LABEL_LENGTH
public static final int GL_MAX_LABEL_LENGTHTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v:- See Also:
-
GL_DEBUG_CALLBACK_FUNCTION
public static final int GL_DEBUG_CALLBACK_FUNCTIONTokens accepted by the <pname> parameter of GetPointerv:- See Also:
-
GL_DEBUG_CALLBACK_USER_PARAM
public static final int GL_DEBUG_CALLBACK_USER_PARAMTokens accepted by the <pname> parameter of GetPointerv:- See Also:
-
GL_DEBUG_SOURCE_API
public static final int GL_DEBUG_SOURCE_APITokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SOURCE_WINDOW_SYSTEM
public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEMTokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SOURCE_SHADER_COMPILER
public static final int GL_DEBUG_SOURCE_SHADER_COMPILERTokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SOURCE_THIRD_PARTY
public static final int GL_DEBUG_SOURCE_THIRD_PARTYTokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SOURCE_APPLICATION
public static final int GL_DEBUG_SOURCE_APPLICATIONTokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SOURCE_OTHER
public static final int GL_DEBUG_SOURCE_OTHERTokens accepted or provided by the <source> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_ERROR
public static final int GL_DEBUG_TYPE_ERRORTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIORTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIORTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_PORTABILITY
public static final int GL_DEBUG_TYPE_PORTABILITYTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_PERFORMANCE
public static final int GL_DEBUG_TYPE_PERFORMANCETokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_OTHER
public static final int GL_DEBUG_TYPE_OTHERTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_MARKER
public static final int GL_DEBUG_TYPE_MARKERTokens accepted or provided by the <type> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_PUSH_GROUP
public static final int GL_DEBUG_TYPE_PUSH_GROUPTokens accepted or provided by the <type> parameters of DebugMessageControl and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_TYPE_POP_GROUP
public static final int GL_DEBUG_TYPE_POP_GROUPTokens accepted or provided by the <type> parameters of DebugMessageControl and DEBUGPROC, and the <types> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SEVERITY_HIGH
public static final int GL_DEBUG_SEVERITY_HIGHTokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SEVERITY_MEDIUM
public static final int GL_DEBUG_SEVERITY_MEDIUMTokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SEVERITY_LOW
public static final int GL_DEBUG_SEVERITY_LOWTokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:- See Also:
-
GL_DEBUG_SEVERITY_NOTIFICATION
public static final int GL_DEBUG_SEVERITY_NOTIFICATIONTokens accepted or provided by the <severity> parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the <severities> parameter of GetDebugMessageLog:- See Also:
-
GL_BUFFER
public static final int GL_BUFFERTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_SHADER
public static final int GL_SHADERTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_PROGRAM
public static final int GL_PROGRAMTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_QUERY
public static final int GL_QUERYTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_PROGRAM_PIPELINE
public static final int GL_PROGRAM_PIPELINETokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_SAMPLER
public static final int GL_SAMPLERTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
GL_DISPLAY_LIST
public static final int GL_DISPLAY_LISTTokens accepted or provided by the <identifier> parameters of ObjectLabel and GetObjectLabel:- See Also:
-
-
Method Details
-
glDebugMessageControl
public static void glDebugMessageControl(int source, int type, int severity, IntBuffer ids, boolean enabled) -
glDebugMessageInsert
-
glDebugMessageInsert
public static void glDebugMessageInsert(int source, int type, int id, int severity, CharSequence buf) Overloads glDebugMessageInsert. -
glDebugMessageCallback
TheKHRDebugCallback.Handler
implementation passed to this method will be used for KHR_debug messages. If callback is null, any previously registered handler for the current thread will be unregistered and stop receiving messages.- Parameters:
callback
- the callback function to use
-
glGetDebugMessageLog
-
glPushDebugGroup
-
glPushDebugGroup
Overloads glPushDebugGroup. -
glPopDebugGroup
public static void glPopDebugGroup() -
glObjectLabel
-
glObjectLabel
Overloads glObjectLabel. -
glGetObjectLabel
-
glGetObjectLabel
Overloads glGetObjectLabel. -
glObjectPtrLabel
-
glObjectPtrLabel
Overloads glObjectPtrLabel. -
glGetObjectPtrLabel
-
glGetObjectPtrLabel
Overloads glGetObjectPtrLabel.
-