Expand description
Load and store assets and resources for Apps.
Modules
- Diagnostic providers for
bevy_diagnostic
. - The
bevy_asset
prelude.
Macros
- Loads an internal asset.
- Loads an internal binary asset.
Structs
- An event channel used by asset server to update the asset storage of a
T
asset. - Metadata for an asset.
- Represents a path to an asset in the file system.
- An unique identifier to an asset path.
- Adds support for
Assets
to an App. - The result of loading an asset of type
T
. - Loads assets from the filesystem in the background.
- Internal data for the asset server.
- Stores Assets of a given type and tracks changes to them.
- The
Error
type, a wrapper around a dynamic error type. - I/O implementation for the local filesystem.
- A handle into a specific
Asset
of typeT
. - A non-generic version of
Handle
. - An unique identifier to a sub-asset label.
- An asynchronous context where an
Asset
is processed. - A complete asset processed in an
AssetLoader
. - Metadata information about a file.
- Type data for the
TypeRegistry
used to operate on reflectedAsset
s. - Reflect type data struct relating a
Handle<T>
back to theT
asset type. - Information about an asset source, such as its path, load state and asset metadata.
- Metadata for an asset source.
- An unique identifier to the source path of an asset.
Enums
- Events that involve assets of type
T
. - Errors that occur while loading assets.
- Events for the
AssetLifecycleChannel
. - Errors that occur while loading assets with an
AssetServer
. - A enum representing a type of file.
- A unique, stable asset id.
- The load state of an asset.
Traits
App
extension methods for adding new asset types.- An essential piece of data of an application.
- An untyped version of the
Asset
trait. - A storage provider for an
AssetServer
. - A trait for sending lifecycle notifications from assets in the asset server.
- A loader for an asset source.
Functions
- Watches for file changes in the local file system.
- A system for freeing assets that have no active handles.
- Updates the
Assets
collection according to the changes queued up byAssetServer
.
Type Definitions
- An owned and dynamically typed Future used when you can’t statically type your result or need to add some indirection.