Package org.lwjgl.stb

Interface STBIReadCallbackI

    • Method Detail

      • address

        default long address()
        Description copied from interface: Pointer
        Returns the raw pointer address as a long value.
        Specified by:
        address in interface Pointer
        Returns:
        the pointer address
      • callback

        default int callback(long args)
        Description copied from interface: CallbackI.I
        Will be called by native code.
        Specified by:
        callback in interface CallbackI.I
        Parameters:
        args - pointer to a DCArgs iterator
        Returns:
        the value to store to the result DCValue
      • invoke

        int invoke(long user,
                   long data,
                   int size)
        The stbi_io_callbacks.read callback.
        Parameters:
        user - a pointer to user data
        data - the data buffer to fill
        size - the number of bytes to read
        Returns:
        the number of bytes actually read