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
Instances of this class may be passed to the DebugMessageControlKHR method.

Type


 void (*EGLDebugMessageKHRCallbackI.invoke(int, long, int, long, long, long)) (
     EGLenum error,
     char const *command,
     EGLint messageType,
     EGLLabelKHR threadLabel,
     EGLLabelKHR objectLabel,
     char const *message
 )
  • Method Details

    • create

      public static EGLDebugMessageKHRCallback create(long functionPointer)
      Creates a EGLDebugMessageKHRCallback instance from the specified function pointer.
      Returns:
      the new EGLDebugMessageKHRCallback
    • createSafe

      @Nullable public static EGLDebugMessageKHRCallback createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      Creates a EGLDebugMessageKHRCallback instance that delegates to the specified EGLDebugMessageKHRCallbackI instance.
    • getCommand

      public static String getCommand(long command)
      Converts the specified EGLDebugMessageKHRCallback argument to a String.

      This method may only be used inside an EGLDebugMessageKHRCallback invocation.

      Parameters:
      command - the EGLDebugMessageKHRCallback command argument
      Returns:
      the command as a String
    • getMessage

      public static String getMessage(long message)
      Converts the specified EGLDebugMessageKHRCallback argument to a String.

      This method may only be used inside an EGLDebugMessageKHRCallback invocation.

      Parameters:
      message - the EGLDebugMessageKHRCallback message argument
      Returns:
      the message as a String