Class GLDebugMessageARBCallback

    • Method Detail

      • create

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

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

        This method may only be used inside a GLDebugMessageARBCallback invocation.

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