Class GLDebugMessageCallback

    • Method Detail

      • create

        public static GLDebugMessageCallback create​(long functionPointer)
        Creates a GLDebugMessageCallback instance from the specified function pointer.
        the new GLDebugMessageCallback
      • createSafe

        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.

        length - the GLDebugMessageCallback length argument
        message - the GLDebugMessageCallback message argument
        the message as a String