Skip to main content

prepare_deferred_lighting_pipelines

Function prepare_deferred_lighting_pipelines 

Source
pub fn prepare_deferred_lighting_pipelines(
    commands: Commands<'_, '_>,
    pipeline_cache: Res<'_, PipelineCache>,
    view_key_cache: Res<'_, ViewKeyCache>,
    pipelines: ResMut<'_, SpecializedRenderPipelines<DeferredLightingLayout>>,
    deferred_lighting_layout: Res<'_, DeferredLightingLayout>,
    cameras: Query<'_, '_, (Entity, &ExtractedView, Has<DeferredPrepass>, Has<SkipDeferredLighting>), With<ExtractedCamera>>,
)