Skip to main content

per_view_shadow_pass

Function per_view_shadow_pass 

Source
pub fn per_view_shadow_pass<const IS_LATE: bool>(
    world: &World,
    view: ViewQuery<'_, '_, &ViewLightEntities>,
    view_light_query: Query<'_, '_, (&ShadowView, &ExtractedView, Has<OcclusionCulling>, Has<PreprocessBindGroups>, Has<SkipGpuPreprocess>, Has<NoIndirectDrawing>)>,
    shadow_render_phases: Res<'_, ViewBinnedRenderPhases<Shadow>>,
    preprocess_pipelines: Option<Res<'_, PreprocessPipelines>>,
    build_indirect_params_bind_groups: Option<Res<'_, BuildIndirectParametersBindGroups>>,
    pipeline_cache: Res<'_, PipelineCache>,
    indirect_parameters_buffers: Option<Res<'_, IndirectParametersBuffers>>,
    build_indirect_parameters_metadata: Option<Res<'_, BuildIndirectParametersMetadata>>,
    ctx: RenderContext<'_, '_>,
)
Expand description

Renders the shadow maps that are associated with a specific view.

At present, these consist of the directional light shadows.