Module bevy::asset::io::file

Available on non-WebAssembly only.

Structs§

  • I/O implementation for the local filesystem.
  • An AssetWatcher that watches the filesystem for changes to asset files in a given root folder and emits AssetSourceEvent for each relevant change. This uses [notify_debouncer_full] to retrieve “debounced” filesystem events. “Debouncing” defines a time window to hold on to events and then removes duplicate events that fall into this window. This introduces a small delay in processing events, but it helps reduce event duplicates. A small delay is also necessary on some systems to avoid processing a change event before it has actually been applied.