bevy_asset::processor

Type Alias LoadAndSave

Source
pub type LoadAndSave<L, S> = LoadTransformAndSave<L, IdentityAssetTransformer<<L as AssetLoader>::Asset>, S>;
๐Ÿ‘ŽDeprecated: Use LoadTransformAndSave<L, IdentityAssetTransformer<<L as AssetLoader>::Asset>, S> instead
Expand description

A flexible Process implementation that loads the source Asset using the L AssetLoader, then saves that L asset using the S AssetSaver.

This is a specialized use case of LoadTransformAndSave and is useful where there is no asset manipulation such as when compressing assets.

This uses LoadAndSaveSettings to configure the processor.

Aliased Typeยง

struct LoadAndSave<L, S> { /* private fields */ }