Function bevy_sprite::extract_materials_2d
source · pub fn extract_materials_2d<M: Material2d>(
commands: Commands<'_, '_>,
events: Extract<'_, '_, EventReader<'_, '_, AssetEvent<M>>>,
assets: Extract<'_, '_, Res<'_, Assets<M>>>
)
Expand description
This system extracts all created or modified assets of the corresponding Material2d
type
into the “render world”.