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 class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface EGLDebugMessageKHRCallbackI
DESCRIPTORFields inherited from interface 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 interface EGLDebugMessageKHRCallbackI
callback, getDescriptor, invokeMethods inherited from interface 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
-