Class GLDebugMessageCallback

    • 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