Package org.lwjgl.opengl
Class ARBDebugOutput
- java.lang.Object
-
- org.lwjgl.opengl.ARBDebugOutput
-
public final class ARBDebugOutput extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_DEBUG_CALLBACK_FUNCTION_ARBTokens accepted by the <pname> parameter of GetPointerv:static intGL_DEBUG_CALLBACK_USER_PARAM_ARBTokens accepted by the <pname> parameter of GetPointerv:static intGL_DEBUG_LOGGED_MESSAGES_ARBTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static intGL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARBTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static intGL_DEBUG_OUTPUT_SYNCHRONOUS_ARBTokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:static intGL_DEBUG_SEVERITY_HIGH_ARBTokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SEVERITY_LOW_ARBTokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SEVERITY_MEDIUM_ARBTokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_API_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_APPLICATION_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_OTHER_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_SHADER_COMPILER_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_THIRD_PARTY_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_SOURCE_WINDOW_SYSTEM_ARBTokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_ERROR_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_OTHER_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_PERFORMANCE_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_PORTABILITY_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARBTokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:static intGL_MAX_DEBUG_LOGGED_MESSAGES_ARBTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static intGL_MAX_DEBUG_MESSAGE_LENGTH_ARBTokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglDebugMessageCallbackARB(ARBDebugOutputCallback callback)TheARBDebugOutputCallback.Handlerimplementation passed to this method will be used for ARB_debug_output messages.static voidglDebugMessageControlARB(int source, int type, int severity, IntBuffer ids, boolean enabled)static voidglDebugMessageInsertARB(int source, int type, int id, int severity, CharSequence buf)Overloads glDebugMessageInsertARB.static voidglDebugMessageInsertARB(int source, int type, int id, int severity, ByteBuffer buf)static intglGetDebugMessageLogARB(int count, IntBuffer sources, IntBuffer types, IntBuffer ids, IntBuffer severities, IntBuffer lengths, ByteBuffer messageLog)
-
-
-
Field Detail
-
GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB
public static final int GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB
Tokens accepted by the <target> parameters of Enable, Disable, and IsEnabled:- See Also:
- Constant Field Values
-
GL_MAX_DEBUG_MESSAGE_LENGTH_ARB
public static final int GL_MAX_DEBUG_MESSAGE_LENGTH_ARB
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
- Constant Field Values
-
GL_MAX_DEBUG_LOGGED_MESSAGES_ARB
public static final int GL_MAX_DEBUG_LOGGED_MESSAGES_ARB
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
- Constant Field Values
-
GL_DEBUG_LOGGED_MESSAGES_ARB
public static final int GL_DEBUG_LOGGED_MESSAGES_ARB
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
- Constant Field Values
-
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB
public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB
Tokens accepted by the <value> parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
- Constant Field Values
-
GL_DEBUG_CALLBACK_FUNCTION_ARB
public static final int GL_DEBUG_CALLBACK_FUNCTION_ARB
Tokens accepted by the <pname> parameter of GetPointerv:- See Also:
- Constant Field Values
-
GL_DEBUG_CALLBACK_USER_PARAM_ARB
public static final int GL_DEBUG_CALLBACK_USER_PARAM_ARB
Tokens accepted by the <pname> parameter of GetPointerv:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_API_ARB
public static final int GL_DEBUG_SOURCE_API_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB
public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_SHADER_COMPILER_ARB
public static final int GL_DEBUG_SOURCE_SHADER_COMPILER_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_THIRD_PARTY_ARB
public static final int GL_DEBUG_SOURCE_THIRD_PARTY_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_APPLICATION_ARB
public static final int GL_DEBUG_SOURCE_APPLICATION_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SOURCE_OTHER_ARB
public static final int GL_DEBUG_SOURCE_OTHER_ARB
Tokens accepted or provided by the <source> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <sources> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_ERROR_ARB
public static final int GL_DEBUG_TYPE_ERROR_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB
public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB
public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_PORTABILITY_ARB
public static final int GL_DEBUG_TYPE_PORTABILITY_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_PERFORMANCE_ARB
public static final int GL_DEBUG_TYPE_PERFORMANCE_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_TYPE_OTHER_ARB
public static final int GL_DEBUG_TYPE_OTHER_ARB
Tokens accepted or provided by the <type> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB, and the <types> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SEVERITY_HIGH_ARB
public static final int GL_DEBUG_SEVERITY_HIGH_ARB
Tokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SEVERITY_MEDIUM_ARB
public static final int GL_DEBUG_SEVERITY_MEDIUM_ARB
Tokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
GL_DEBUG_SEVERITY_LOW_ARB
public static final int GL_DEBUG_SEVERITY_LOW_ARB
Tokens accepted or provided by the <severity> parameters of DebugMessageControlARB, DebugMessageInsertARB and DEBUGPROCARB callback functions, and the <severities> parameter of GetDebugMessageLogARB:- See Also:
- Constant Field Values
-
-
Method Detail
-
glDebugMessageControlARB
public static void glDebugMessageControlARB(int source, int type, int severity, IntBuffer ids, boolean enabled)
-
glDebugMessageInsertARB
public static void glDebugMessageInsertARB(int source, int type, int id, int severity, ByteBuffer buf)
-
glDebugMessageInsertARB
public static void glDebugMessageInsertARB(int source, int type, int id, int severity, CharSequence buf)Overloads glDebugMessageInsertARB.
-
glDebugMessageCallbackARB
public static void glDebugMessageCallbackARB(ARBDebugOutputCallback callback)
TheARBDebugOutputCallback.Handlerimplementation passed to this method will be used for ARB_debug_output 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
-
-