Function bevy::pbr::build_directional_light_cascades
source · pub fn build_directional_light_cascades<P>(
directional_light_shadow_map: Res<'_, DirectionalLightShadowMap>,
views: Query<'_, '_, (Entity, &GlobalTransform, &P, &Camera)>,
lights: Query<'_, '_, (&GlobalTransform, &DirectionalLight, &CascadeShadowConfig, &mut Cascades)>
)where
P: CameraProjection + Component,