Package org.lwjgl.stb

Interface STBIEOFCallbackI

    • 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)
        The stbi_io_callbacks.eof callback.
        Parameters:
        user - a pointer to user data
        Returns:
        nonzero if we are at the end of file/data