Expand description
The asset prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- Filter that selects entities with an
A
for an asset that changed after the system last ran, whereA
is a component that implementsAsAssetId
. - Provides “asset” loading and processing functionality. An
Asset
is a “runtime value” that is loaded from anAssetSource
, which can be something like a filesystem, a network, etc. - Loads and tracks the state of
Asset
values from a configuredAssetReader
. This can be used to kick off new asset loads and retrieve their current load states.
Enums§
- Events that occur for a specific loaded
Asset
, such as “value changed” events and “dependency” events. - Controls whether or not assets are pre-processed before being loaded.
Traits§
- Declares that this type is an asset, which can be loaded and managed by the
AssetServer
and stored inAssets
collections. - Adds asset-related builder methods to
App
. - An extension trait for methods for working with assets directly from a
World
.