Package org.lwjgl.egl
Class EGLDebugMessageKHRCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.egl.EGLDebugMessageKHRCallback
- All Implemented Interfaces:
AutoCloseable,EGLDebugMessageKHRCallbackI,CallbackI,NativeResource,Pointer
public abstract class EGLDebugMessageKHRCallback
extends Callback
implements EGLDebugMessageKHRCallbackI
Callback function:
EGLDEBUGPROCKHR-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.egl.EGLDebugMessageKHRCallbackI
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic EGLDebugMessageKHRCallbackcreate(long functionPointer) Creates aEGLDebugMessageKHRCallbackinstance from the specified function pointer.static EGLDebugMessageKHRCallbackcreate(EGLDebugMessageKHRCallbackI instance) Creates aEGLDebugMessageKHRCallbackinstance that delegates to the specifiedEGLDebugMessageKHRCallbackIinstance.static @Nullable EGLDebugMessageKHRCallbackcreateSafe(long functionPointer) static StringgetCommand(long command) Converts the specifiedEGLDebugMessageKHRCallbackargument to a String.static StringgetMessage(long message) Converts the specifiedEGLDebugMessageKHRCallbackargument to a String.Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.egl.EGLDebugMessageKHRCallbackI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aEGLDebugMessageKHRCallbackinstance from the specified function pointer.- Returns:
- the new
EGLDebugMessageKHRCallback
-
createSafe
-
create
Creates aEGLDebugMessageKHRCallbackinstance that delegates to the specifiedEGLDebugMessageKHRCallbackIinstance. -
getCommand
Converts the specifiedEGLDebugMessageKHRCallbackargument to a String.This method may only be used inside an EGLDebugMessageKHRCallback invocation.
- Parameters:
command- the EGLDebugMessageKHRCallbackcommandargument- Returns:
- the command as a String
-
getMessage
Converts the specifiedEGLDebugMessageKHRCallbackargument to a String.This method may only be used inside an EGLDebugMessageKHRCallback invocation.
- Parameters:
message- the EGLDebugMessageKHRCallbackmessageargument- Returns:
- the message as a String
-