Package org.lwjgl.opengles
Class GLDebugMessageKHRCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.opengles.GLDebugMessageKHRCallback
- All Implemented Interfaces:
AutoCloseable,GLDebugMessageKHRCallbackI,CallbackI,NativeResource,Pointer
public abstract class GLDebugMessageKHRCallback
extends Callback
implements GLDebugMessageKHRCallbackI
Callback function:
GLDEBUGPROCKHR-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.opengles.GLDebugMessageKHRCallbackI
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic GLDebugMessageKHRCallbackcreate(long functionPointer) Creates aGLDebugMessageKHRCallbackinstance from the specified function pointer.static GLDebugMessageKHRCallbackcreate(GLDebugMessageKHRCallbackI instance) Creates aGLDebugMessageKHRCallbackinstance that delegates to the specifiedGLDebugMessageKHRCallbackIinstance.static @Nullable GLDebugMessageKHRCallbackcreateSafe(long functionPointer) static StringgetMessage(int length, long message) Converts the specifiedGLDebugMessageKHRCallbackarguments to a String.Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.opengles.GLDebugMessageKHRCallbackI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aGLDebugMessageKHRCallbackinstance from the specified function pointer.- Returns:
- the new
GLDebugMessageKHRCallback
-
createSafe
-
create
Creates aGLDebugMessageKHRCallbackinstance that delegates to the specifiedGLDebugMessageKHRCallbackIinstance. -
getMessage
Converts the specifiedGLDebugMessageKHRCallbackarguments to a String.This method may only be used inside a GLDebugMessageKHRCallback invocation.
- Parameters:
length- the GLDebugMessageKHRCallbacklengthargumentmessage- the GLDebugMessageKHRCallbackmessageargument- Returns:
- the message as a String
-