create_render_pipeline

Function create_render_pipeline 

Source
pub fn create_render_pipeline(
    label: &str,
    device: &Device,
    layout: &PipelineLayout,
    color_format: TextureFormat,
    depth_format: Option<TextureFormat>,
    vertex_layouts: &[VertexBufferLayout<'_>],
    shader: &Shader,
    blend_mode: BlendMode,
) -> Result<RenderPipeline>