Package org.lwjgl.egl

Class EGLDebugMessageKHRCallback

  • All Implemented Interfaces:
    java.lang.AutoCloseable, EGLDebugMessageKHRCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.CallbackI.V, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public abstract class EGLDebugMessageKHRCallback
    extends org.lwjgl.system.Callback
    implements EGLDebugMessageKHRCallbackI
    Instances of this class may be passed to the DebugMessageControlKHR method.

    Type

    
     void (*) (
         EGLenum error,
         char const *command,
         EGLint messageType,
         EGLLabelKHR threadLabel,
         EGLLabelKHR objectLabel,
         char const *message
     )
    • 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.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Method Detail

      • 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.
      • getCommand

        public static java.lang.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 java.lang.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