pub(super) fn recreate_pipelines(
    device: Arc<Device>,
    immutable_layouts: Arc<ImmutableLayouts>,
    shaders: Shaders,
    pipeline_modes: PipelineModes,
    surface_config: SurfaceConfiguration,
    has_shadow_views: bool,
    intermediate_format: TextureFormat,
) -> PipelineCreation<Result<(Pipelines, ShadowPipelines, RainOcclusionPipelines, Arc<PostProcessLayout>), RenderError>>
Expand description

Creates all the pipelines used to render. Use this to recreate all the pipelines in the background. TODO: report progress NOTE: this tries to use all the CPU cores to complete as soon as possible