Struct wgpu_core::pipeline::RenderPipelineDescriptor
source · pub struct RenderPipelineDescriptor<'a> {
pub label: Label<'a>,
pub layout: Option<PipelineLayoutId>,
pub vertex: VertexState<'a>,
pub primitive: PrimitiveState,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: MultisampleState,
pub fragment: Option<FragmentState<'a>>,
}Expand description
Describes a render (graphics) pipeline.
Fields§
§label: Label<'a>§layout: Option<PipelineLayoutId>The layout of bind groups for this pipeline.
vertex: VertexState<'a>The vertex processing state for this pipeline.
primitive: PrimitiveStateThe properties of the pipeline at the primitive assembly and rasterization level.
depth_stencil: Option<DepthStencilState>The effect of draw calls on the depth and stencil aspects of the output target, if any.
multisample: MultisampleStateThe multi-sampling properties of the pipeline.
fragment: Option<FragmentState<'a>>The fragment processing state for this pipeline.
Trait Implementations§
source§impl<'a> Clone for RenderPipelineDescriptor<'a>
impl<'a> Clone for RenderPipelineDescriptor<'a>
source§fn clone(&self) -> RenderPipelineDescriptor<'a>
fn clone(&self) -> RenderPipelineDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more