Skip to main content

create_quad_pipeline

Function create_quad_pipeline 

Source
pub fn create_quad_pipeline(
    device: &Device,
    bind_group_layout: &BindGroupLayout,
    format: TextureFormat,
) -> RenderPipeline
Expand description

Build the rounded-rect SDF quad pipeline. Split out of Renderer::new so it can be created against a headless device in tests.