Expand description
AssetStorage is implemented by engines to store loaded asset data.
Structs§
- Asset
Load Op - Type that allows the downstream asset storage implementation to signal that an asset update
operation has completed. See
AssetStorage::update_asset. - Atomic
Handle Allocator - An implementation of
HandleAllocatorwhich uses an incrementing AtomicU64 internally to allocate LoadHandle IDs. - Default
Indirection Resolver - Default implementation of
IndirectionResolverwhich resolves to the first asset in the list of candidates of the appropriate type. - Indirection
Table - Resolves indirect
LoadHandles. SeeLoadHandle::is_indirectfor details. - Load
Handle - Loading ID allocated by
Loaderto track loading of a particular asset or an indirect reference to an asset. - Load
Info - Information about an asset load operation.
Enums§
- Indirect
Identifier - An indirect identifier that can be resolved to a specific
AssetUuidby anIndirectionResolverimpl. - Load
Status - Asset loading status.
Traits§
- Asset
Storage - Storage for all assets of all asset types.
- Handle
Allocator - Allocates LoadHandles for
Loaderimplementations. - Indirection
Resolver - Resolves ambiguous
IndirectIdentifiers to a single asset ID given a set of candidates. - Loader
Info Provider - Provides information about mappings between
AssetUuidandLoadHandle. Intended to be used forHandleserde.