Function bevy::pbr::extract_materials

pub fn extract_materials<M>(
    commands: Commands<'_, '_>,
    events: Extract<'_, '_, EventReader<'_, '_, AssetEvent<M>>>,
    assets: Extract<'_, '_, Res<'_, Assets<M>>>
)where
    M: Material,
Expand description

This system extracts all created or modified assets of the corresponding Material type into the “render world”.