pub fn prepare_assets<A: RenderAsset>(
extracted_assets: ResMut<'_, ExtractedAssets<A>>,
render_assets: ResMut<'_, RenderAssets<A>>,
prepare_next_frame: ResMut<'_, PrepareNextFrameAssets<A>>,
param: StaticSystemParam<'_, '_, <A as RenderAsset>::Param>,
bpf: ResMut<'_, RenderAssetBytesPerFrame>,
)
Expand description
This system prepares all assets of the corresponding RenderAsset::SourceAsset
type
which where extracted this frame for the GPU.