[][src]Crate bevy_asset

Modules

prelude
stage

The names of asset stages in an App Schedule

Structs

AssetChannel

A channel to send and receive AssetResults

AssetInfo

Info about a specific asset, such as its path and its current load state

AssetPlugin

Adds support for Assets to an App. Assets are typed collections with change tracking, which are added as App Resources. Examples of assets: textures, sounds, 3d models, maps, scenes

AssetResult

The result of loading an asset of type T

AssetServer

Loads assets from the filesystem on background threads

Assets

Stores Assets of a given type and tracks changes to them.

Handle

A handle into a specific Asset of type T

HandleId

A unique id that corresponds to a specific asset in the Assets collection.

HandleUntyped

A non-generic version of Handle

LoadRequest

A request from an AssetServer to load an asset.

Enums

AssetEvent

Events that happen on assets of type T

AssetLoadError

Errors that occur while loading assets

AssetServerError

Errors that occur while loading assets with an AssetServer

LoadState

The load state of an asset

Traits

AddAsset

AppBuilder extension methods for adding new asset types

AssetLoadRequestHandler

Handles load requests from an AssetServer

AssetLoader

A loader for a given asset of type T

Functions

update_asset_storage_system

Reads AssetResults from an AssetChannel and updates the Assets collection and LoadState accordingly

Type Definitions

AssetVersion

The type used for asset versioning