Package org.lwjgl.opengl
Class GLDebugMessageCallback
- java.lang.Object
 - 
- org.lwjgl.system.Callback
 - 
- org.lwjgl.opengl.GLDebugMessageCallback
 
 
 
- 
- All Implemented Interfaces:
 - java.lang.AutoCloseable, GLDebugMessageCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.CallbackI.V, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
 
public abstract class GLDebugMessageCallback extends org.lwjgl.system.Callback implements GLDebugMessageCallbackI
Instances of this class may be passed to theGL43.glDebugMessageCallback(org.lwjgl.opengl.GLDebugMessageCallbackI, long)andKHRDebug.glDebugMessageCallback(org.lwjgl.opengl.GLDebugMessageCallbackI, long)methods. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z 
 - 
 
- 
Field Summary
- 
Fields inherited from interface org.lwjgl.opengl.GLDebugMessageCallbackI
SIGNATURE 
 - 
 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static GLDebugMessageCallbackcreate(GLDebugMessageCallbackI instance)Creates aGLDebugMessageCallbackinstance that delegates to the specifiedGLDebugMessageCallbackIinstance.static GLDebugMessageCallbackcreate(long functionPointer)Creates aGLDebugMessageCallbackinstance from the specified function pointer.static java.lang.StringgetMessage(int length, long message)Converts the specifiedGLDebugMessageCallbackarguments to a String.- 
Methods inherited from class org.lwjgl.system.Callback
__stdcall, address, equals, free, free, get, hashCode, toString 
- 
Methods inherited from interface org.lwjgl.opengl.GLDebugMessageCallbackI
callback, getSignature, invoke 
 - 
 
 - 
 
- 
- 
Method Detail
- 
create
public static GLDebugMessageCallback create(long functionPointer)
Creates aGLDebugMessageCallbackinstance from the specified function pointer. 
- 
create
public static GLDebugMessageCallback create(GLDebugMessageCallbackI instance)
Creates aGLDebugMessageCallbackinstance that delegates to the specifiedGLDebugMessageCallbackIinstance. 
- 
getMessage
public static java.lang.String getMessage(int length, long message)Converts the specifiedGLDebugMessageCallbackarguments to a String.This method may only be used inside a GLDebugMessageCallback invocation.
- Parameters:
 length- the GLDebugMessageCallbacklengthargumentmessage- the GLDebugMessageCallbackmessageargument- Returns:
 - the message as a String
 
 
 - 
 
 -