Handle<TypeId(0xa4e767ed3a91f062bc69d47c9703c78d)>
Strong
- alloc::sync::Arc<bevy_asset::handle::StrongHandle>
Weak
- bevy_asset::id::AssetId<bevy_asset::assets::LoadedUntypedAsset>
Description
A strong or weak handle to a specific [
Asset
]. If a [Handle
] is [Handle::Strong
], the [Asset
] will be kept alive until the [Handle
] is dropped. If a [Handle
] is [Handle::Weak
], it does not necessarily reference a live [Asset
], nor will it keep assets alive.[
Handle
] can be cloned. If a [Handle::Strong
] is cloned, the referenced [Asset
] will not be freed until all instances of the [Handle
] are dropped.[
Handle::Strong
] also provides access to useful [Asset
] metadata, such as the [AssetPath
] (if it exists).