pub fn new(
        shaders: GraphicsShaderSet<'a, B>,
        primitive: Primitive,
        rasterizer: Rasterizer,
        layout: &'a B::PipelineLayout,
        subpass: pass::Subpass<'a, B>,
    ) -> Self {
        GraphicsPipelineDesc {
            shaders,
            rasterizer,
            vertex_buffers: Vec::new(),
            attributes: Vec::new(),
            input_assembler: InputAssemblerDesc::new(primitive),
            blender: BlendDesc::default(),
            depth_stencil: None,
            baked_states: BakedStates::default(),
            layout,
            subpass,
            flags: PipelineCreationFlags::empty(),
            parent: BasePipeline::None,
        }
    }
/// Create a new empty PSO descriptor.
Create a new empty PSO descriptor.
Create a new empty PSO descriptor .
pub fn new(
        shaders: GraphicsShaderSet<'a, B>,
        primitive: Primitive,
        rasterizer: Rasterizer,
        layout: &'a B::PipelineLayout,
        subpass: pass::Subpass<'a, B>,
    ) -> Self {
        GraphicsPipelineDesc {
            shaders,
            rasterizer,
            vertex_buffers: Vec::new(),
            attributes: Vec::new(),
            input_assembler: InputAssemblerDesc::new(primitive),
            blender: BlendDesc::default(),
            depth_stencil: None,
            baked_states: BakedStates::default(),
            layout,
            subpass,
            flags: PipelineCreationFlags::empty(),
            parent: BasePipeline::None,
        }
    }
pub fn new ( shaders : GraphicsShaderSet < ' a , B > , primitive : Primitive , rasterizer : Rasterizer , layout : & ' a B :: PipelineLayout , subpass : pass :: Subpass < ' a , B > , ) -> Self { GraphicsPipelineDesc { shaders , rasterizer , vertex_buffers : Vec :: new ( ) , attributes : Vec :: new ( ) , input_assembler : InputAssemblerDesc :: new ( primitive ) , blender : BlendDesc :: default ( ) , depth_stencil : None , baked_states : BakedStates :: default ( ) , layout , subpass , flags : PipelineCreationFlags :: empty ( ) , parent : BasePipeline :: None , } }
Create a new empty PSO descriptor.
Create a new empty PSO descriptor .
shaders
GraphicsShaderSet<'a, B>
primitive
Primitive
rasterizer
Rasterizer
layout
&'a B::PipelineLayout
subpass
pass::Subpass<'a, B>