fn description() -> PipelineDescription<'a> {
        PipelineDescription {
            vertex_layout: &[VertexFormat::Floatx2, VertexFormat::Floatx3], // Layout of 2 floats for position, 3 floats for color
            pipeline_layout: None, // Has no bindings, so left empty
            shader: ShaderFile::Wgsl(include_str!("./shaders/multisampled_line.wgsl")), // Takes in line shader
            name: Some("Line pipeline") // Name of pipeline
        }
    }
// This function is used to describe the layout of our pipeline
This function is used to describe the layout of our pipeline
This function is used to describe the layout of our pipeline
fn description() -> PipelineDescription<'a> {
        PipelineDescription {
            vertex_layout: &[VertexFormat::Floatx2, VertexFormat::Floatx3], // Layout of 2 floats for position, 3 floats for color
            pipeline_layout: None, // Has no bindings, so left empty
            shader: ShaderFile::Wgsl(include_str!("./shaders/multisampled_line.wgsl")), // Takes in line shader
            name: Some("Line pipeline") // Name of pipeline
        }
    }
fn description ( ) -> PipelineDescription < ' a > { PipelineDescription { vertex_layout : & [ VertexFormat :: Floatx2 , VertexFormat :: Floatx3 ] , // Layout of 2 floats for position, 3 floats for color pipeline_layout : None , // Has no bindings, so left empty shader : ShaderFile :: Wgsl ( include_str ! ( " " ) ) , // Takes in line shader name : Some ( " " ) // Name of pipeline } }
This function is used to describe the layout of our pipeline
This function is used to describe the layout of our pipeline