Class GLDebugMessageAMDCallback

    • Method Detail

      • create

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

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

        This method may only be used inside a GLDebugMessageAMDCallback invocation.

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