logo
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.

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 type T.

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.

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.

Errors that occur while loading assets with an AssetServer.

The names of asset stages in an App schedule.

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

Creates an instance of the platform’s default AssetIo.

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 by AssetServer.

Type Definitions