Class GLFWDropCallback

    • Method Detail

      • create

        public static GLFWDropCallback create(long functionPointer)
        Creates a GLFWDropCallback instance from the specified function pointer.
      • create

        public static GLFWDropCallback create(GLFWDropCallbackI instance)
        Creates a GLFWDropCallback instance that delegates to the specified GLFWDropCallbackI instance.
      • getName

        public static java.lang.String getName(long names,
                                               int index)
        Decodes the specified GLFWDropCallback arguments to a String.

        This method may only be used inside a GLFWDropCallback invocation.

        Parameters:
        names - pointer to the array of UTF-8 encoded path names of the dropped files
        index - the index to decode
        Returns:
        the name at the specified index as a String