Function bevy_pbr::prepare_ssr_pipelines
source · pub fn prepare_ssr_pipelines(
commands: Commands<'_, '_>,
pipeline_cache: Res<'_, PipelineCache>,
pipelines: ResMut<'_, SpecializedRenderPipelines<ScreenSpaceReflectionsPipeline>>,
ssr_pipeline: Res<'_, ScreenSpaceReflectionsPipeline>,
views: Query<'_, '_, (Entity, &ExtractedView, Has<RenderViewLightProbes<EnvironmentMapLight>>, Has<NormalPrepass>, Has<MotionVectorPrepass>), (With<ScreenSpaceReflectionsUniform>, With<DepthPrepass>, With<DeferredPrepass>)>
)
Expand description
Sets up screen space reflection pipelines for each applicable view.