pub fn extract_materials<M: Material>(
    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 Material type into the “render world”.