public final class KHRDebug
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
GL_BUFFER
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_CONTEXT_FLAG_DEBUG_BIT
Returned by GetIntegerv when <pname> is CONTEXT_FLAGS:
|
static int |
GL_DEBUG_CALLBACK_FUNCTION
Tokens accepted by the <pname> parameter of GetPointerv:
|
static int |
GL_DEBUG_CALLBACK_USER_PARAM
Tokens accepted by the <pname> parameter of GetPointerv:
|
static int |
GL_DEBUG_GROUP_STACK_DEPTH
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_DEBUG_LOGGED_MESSAGES
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_DEBUG_OUTPUT
Tokens accepted by the <target> parameters of Enable, Disable, and
IsEnabled:
|
static int |
GL_DEBUG_OUTPUT_SYNCHRONOUS
Tokens accepted by the <target> parameters of Enable, Disable, and
IsEnabled:
|
static int |
GL_DEBUG_SEVERITY_HIGH
Tokens accepted or provided by the <severity> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions,
and the <severities> parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SEVERITY_LOW
Tokens accepted or provided by the <severity> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions,
and the <severities> parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SEVERITY_MEDIUM
Tokens accepted or provided by the <severity> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions,
and the <severities> parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SEVERITY_NOTIFICATION
Tokens accepted or provided by the <severity> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions,
and the <severities> parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_API
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_APPLICATION
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_OTHER
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_SHADER_COMPILER
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_THIRD_PARTY
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_SOURCE_WINDOW_SYSTEM
Tokens accepted or provided by the <source> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <sources>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_ERROR
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_MARKER
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_OTHER
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_PERFORMANCE
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_POP_GROUP
Tokens accepted or provided by the <type> parameters of
DebugMessageControl and DEBUGPROC, and the <types> parameter of
GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_PORTABILITY
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_PUSH_GROUP
Tokens accepted or provided by the <type> parameters of
DebugMessageControl and DEBUGPROC, and the <types> parameter of
GetDebugMessageLog:
|
static int |
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
Tokens accepted or provided by the <type> parameters of
DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the <types>
parameter of GetDebugMessageLog:
|
static int |
GL_DISPLAY_LIST
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_MAX_DEBUG_GROUP_STACK_DEPTH
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_MAX_DEBUG_LOGGED_MESSAGES
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_MAX_DEBUG_MESSAGE_LENGTH
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_MAX_LABEL_LENGTH
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv,
GetFloatv, GetDoublev and GetInteger64v:
|
static int |
GL_PROGRAM
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_PROGRAM_PIPELINE
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_QUERY
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_SAMPLER
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_SHADER
Tokens accepted or provided by the <identifier> parameters of
ObjectLabel and GetObjectLabel:
|
static int |
GL_STACK_OVERFLOW
Returned by GetError:
|
static int |
GL_STACK_UNDERFLOW
Returned by GetError:
|
Modifier and Type | Method and Description |
---|---|
static void |
glDebugMessageCallback(KHRDebugCallback callback)
The
KHRDebugCallback.Handler implementation passed to this method will be used for
KHR_debug messages. |
static void |
glDebugMessageControl(int source,
int type,
int severity,
java.nio.IntBuffer ids,
boolean enabled) |
static void |
glDebugMessageInsert(int source,
int type,
int id,
int severity,
java.nio.ByteBuffer buf) |
static void |
glDebugMessageInsert(int source,
int type,
int id,
int severity,
java.lang.CharSequence buf)
Overloads glDebugMessageInsert.
|
static int |
glGetDebugMessageLog(int count,
java.nio.IntBuffer sources,
java.nio.IntBuffer types,
java.nio.IntBuffer ids,
java.nio.IntBuffer severities,
java.nio.IntBuffer lengths,
java.nio.ByteBuffer messageLog) |
static java.lang.String |
glGetObjectLabel(int identifier,
int name,
int bufSize)
Overloads glGetObjectLabel.
|
static void |
glGetObjectLabel(int identifier,
int name,
java.nio.IntBuffer length,
java.nio.ByteBuffer label) |
static java.lang.String |
glGetObjectPtrLabel(PointerWrapper ptr,
int bufSize)
Overloads glGetObjectPtrLabel.
|
static void |
glGetObjectPtrLabel(PointerWrapper ptr,
java.nio.IntBuffer length,
java.nio.ByteBuffer label) |
static void |
glObjectLabel(int identifier,
int name,
java.nio.ByteBuffer label) |
static void |
glObjectLabel(int identifier,
int name,
java.lang.CharSequence label)
Overloads glObjectLabel.
|
static void |
glObjectPtrLabel(PointerWrapper ptr,
java.nio.ByteBuffer label) |
static void |
glObjectPtrLabel(PointerWrapper ptr,
java.lang.CharSequence label)
Overloads glObjectPtrLabel.
|
static void |
glPopDebugGroup() |
static void |
glPushDebugGroup(int source,
int id,
java.nio.ByteBuffer message) |
static void |
glPushDebugGroup(int source,
int id,
java.lang.CharSequence message)
Overloads glPushDebugGroup.
|
public static final int GL_DEBUG_OUTPUT
public static final int GL_DEBUG_OUTPUT_SYNCHRONOUS
public static final int GL_CONTEXT_FLAG_DEBUG_BIT
public static final int GL_MAX_DEBUG_MESSAGE_LENGTH
public static final int GL_MAX_DEBUG_LOGGED_MESSAGES
public static final int GL_DEBUG_LOGGED_MESSAGES
public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
public static final int GL_MAX_DEBUG_GROUP_STACK_DEPTH
public static final int GL_DEBUG_GROUP_STACK_DEPTH
public static final int GL_MAX_LABEL_LENGTH
public static final int GL_DEBUG_CALLBACK_FUNCTION
public static final int GL_DEBUG_CALLBACK_USER_PARAM
public static final int GL_DEBUG_SOURCE_API
public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM
public static final int GL_DEBUG_SOURCE_SHADER_COMPILER
public static final int GL_DEBUG_SOURCE_THIRD_PARTY
public static final int GL_DEBUG_SOURCE_APPLICATION
public static final int GL_DEBUG_SOURCE_OTHER
public static final int GL_DEBUG_TYPE_ERROR
public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
public static final int GL_DEBUG_TYPE_PORTABILITY
public static final int GL_DEBUG_TYPE_PERFORMANCE
public static final int GL_DEBUG_TYPE_OTHER
public static final int GL_DEBUG_TYPE_MARKER
public static final int GL_DEBUG_TYPE_PUSH_GROUP
public static final int GL_DEBUG_TYPE_POP_GROUP
public static final int GL_DEBUG_SEVERITY_HIGH
public static final int GL_DEBUG_SEVERITY_MEDIUM
public static final int GL_DEBUG_SEVERITY_LOW
public static final int GL_DEBUG_SEVERITY_NOTIFICATION
public static final int GL_STACK_UNDERFLOW
public static final int GL_STACK_OVERFLOW
public static final int GL_BUFFER
public static final int GL_SHADER
public static final int GL_PROGRAM
public static final int GL_QUERY
public static final int GL_PROGRAM_PIPELINE
public static final int GL_SAMPLER
public static final int GL_DISPLAY_LIST
public static void glDebugMessageControl(int source, int type, int severity, java.nio.IntBuffer ids, boolean enabled)
public static void glDebugMessageInsert(int source, int type, int id, int severity, java.nio.ByteBuffer buf)
public static void glDebugMessageInsert(int source, int type, int id, int severity, java.lang.CharSequence buf)
public static void glDebugMessageCallback(KHRDebugCallback callback)
KHRDebugCallback.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.
callback
- the callback function to usepublic static int glGetDebugMessageLog(int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog)
public static void glPushDebugGroup(int source, int id, java.nio.ByteBuffer message)
public static void glPushDebugGroup(int source, int id, java.lang.CharSequence message)
public static void glPopDebugGroup()
public static void glObjectLabel(int identifier, int name, java.nio.ByteBuffer label)
public static void glObjectLabel(int identifier, int name, java.lang.CharSequence label)
public static void glGetObjectLabel(int identifier, int name, java.nio.IntBuffer length, java.nio.ByteBuffer label)
public static java.lang.String glGetObjectLabel(int identifier, int name, int bufSize)
public static void glObjectPtrLabel(PointerWrapper ptr, java.nio.ByteBuffer label)
public static void glObjectPtrLabel(PointerWrapper ptr, java.lang.CharSequence label)
public static void glGetObjectPtrLabel(PointerWrapper ptr, java.nio.IntBuffer length, java.nio.ByteBuffer label)
public static java.lang.String glGetObjectPtrLabel(PointerWrapper ptr, int bufSize)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.