extract_decals

Function extract_decals 

Source
pub fn extract_decals(
    decals: Extract<'_, '_, Query<'_, '_, (RenderEntity, &ClusteredDecal, &GlobalTransform, &ViewVisibility)>>,
    spot_light_textures: Extract<'_, '_, Query<'_, '_, (RenderEntity, &SpotLightTexture, &GlobalTransform, &ViewVisibility)>>,
    point_light_textures: Extract<'_, '_, Query<'_, '_, (RenderEntity, &PointLightTexture, &GlobalTransform, &ViewVisibility)>>,
    directional_light_textures: Extract<'_, '_, Query<'_, '_, (RenderEntity, &DirectionalLightTexture, &GlobalTransform, &ViewVisibility)>>,
    render_decals: ResMut<'_, RenderClusteredDecals>,
)
Expand description

Extracts decals from the main world into the render world.