Asset management crate. Designed with the following goals in mind:
- asynchronous & parallel using rayon
- allow different sources
Helper type for loading assets
An asset storage, storing the actual assets and allocating handles to them.
A simple cache for asset handles of type
The Error type.
A handle to an asset. This is usually what the
user deals with, the actual asset (
This bundle activates hot reload for the
An ECS resource which allows to configure hot reloading.
System for updating
The asset loader, holding the sources and a reference to the
Helper structure for loading prefabs.
System that load
A default implementation for an asset processing system
which converts data to assets and maintains the asset storage
A progress tracker which is passed to the
Format for loading from Ron files.
An implementation of
A weak handle, which is useful if you don't directly need the asset like in caches. This way, the asset can still get dropped (if you want that).
Completion status, returned by
The kind of an error.
The Specs error type. This is an enum which is able to represent all error types of this library.
Returned by processor systems, describes the loading state of the asset.
One of the three core traits of this crate.
A format, providing a conversion from bytes to asset data, which is then
in turn accepted by
Trait for loading a prefabs data for a single entity
Additional methods for
This is a simplified version of
A trait for asset sources, which provides methods for loading bytes.
Convenient wrapper around