Struct wgpu_core::pipeline::RenderPipelineDescriptor [−][src]
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: PrimitiveState
The 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: MultisampleState
The multi-sampling properties of the pipeline.
fragment: Option<FragmentState<'a>>
The fragment processing state for this pipeline.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RenderPipelineDescriptor<'a>
impl<'a> Send for RenderPipelineDescriptor<'a>
impl<'a> Sync for RenderPipelineDescriptor<'a>
impl<'a> Unpin for RenderPipelineDescriptor<'a>
impl<'a> !UnwindSafe for RenderPipelineDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more