Struct wgpu::RenderPipelineDescriptor [−][src]
pub struct RenderPipelineDescriptor<'a> { pub label: Label<'a>, pub layout: Option<&'a PipelineLayout>, 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>
Debug label of the pipeline. This will show up in graphics debuggers for easy identification.
layout: Option<&'a PipelineLayout>
The layout of bind groups for this pipeline.
vertex: VertexState<'a>
The compiled vertex stage, its entry point, and the input buffers layout.
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 compiled fragment stage, its entry point, and the color targets.
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