We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e7691 commit 5ad736bCopy full SHA for 5ad736b
crates/bevy_asset/src/loader.rs
@@ -321,6 +321,10 @@ pub enum DeserializeMetaError {
321
/// Any asset state accessed by [`LoadContext`] will be tracked and stored for use in dependency events and asset preprocessing.
322
pub struct LoadContext<'a> {
323
pub(crate) asset_server: &'a AssetServer,
324
+ /// Specifies whether dependencies that are loaded deferred should be loaded.
325
+ ///
326
+ /// This allows us to skip loads for cases where we're never going to use the asset and we just
327
+ /// need the dependency information, for example during asset processing.
328
pub(crate) should_load_dependencies: bool,
329
populate_hashes: bool,
330
asset_path: AssetPath<'static>,
0 commit comments