Class GLDebugMessageKHRCallback

    • Method Detail

      • create

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

        @Nullable
        public static GLDebugMessageKHRCallback 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 GLDebugMessageKHRCallback arguments to a String.

        This method may only be used inside a GLDebugMessageKHRCallback invocation.

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