Class GLDebugMessageCallback

    • Nested Class Summary

      • 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 GLDebugMessageCallback create​(long functionPointer)
        Creates a GLDebugMessageCallback instance from the specified function pointer.
        Returns:
        the new GLDebugMessageCallback
      • createSafe

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

        public static java.lang.String getMessage​(int length,
                                                  long message)
        Converts the specified GLDebugMessageCallback arguments to a String.

        This method may only be used inside a GLDebugMessageCallback invocation.

        Parameters:
        length - the GLDebugMessageCallback length argument
        message - the GLDebugMessageCallback message argument
        Returns:
        the message as a String