pub struct ResolvedRenderPipelineDescriptor<'a> {
pub label: Label<'a>,
pub layout: Option<Arc<PipelineLayout>>,
pub vertex: ResolvedVertexState<'a>,
pub primitive: PrimitiveState,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: MultisampleState,
pub fragment: Option<ResolvedFragmentState<'a>>,
pub multiview: Option<NonZeroU32>,
pub cache: Option<Arc<PipelineCache>>,
}
Expand description
Describes a render (graphics) pipeline.
Fields§
§label: Label<'a>
§layout: Option<Arc<PipelineLayout>>
The layout of bind groups for this pipeline.
vertex: ResolvedVertexState<'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<ResolvedFragmentState<'a>>
The fragment processing state for this pipeline.
multiview: Option<NonZeroU32>
If the pipeline will be used with a multiview render pass, this indicates how many array layers the attachments will have.
cache: Option<Arc<PipelineCache>>
The pipeline cache to use when creating this pipeline.
Trait Implementations§
Source§impl<'a> Clone for ResolvedRenderPipelineDescriptor<'a>
impl<'a> Clone for ResolvedRenderPipelineDescriptor<'a>
Source§fn clone(&self) -> ResolvedRenderPipelineDescriptor<'a>
fn clone(&self) -> ResolvedRenderPipelineDescriptor<'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 moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedRenderPipelineDescriptor<'a>
impl<'a> !RefUnwindSafe for ResolvedRenderPipelineDescriptor<'a>
impl<'a> Send for ResolvedRenderPipelineDescriptor<'a>
impl<'a> Sync for ResolvedRenderPipelineDescriptor<'a>
impl<'a> Unpin for ResolvedRenderPipelineDescriptor<'a>
impl<'a> !UnwindSafe for ResolvedRenderPipelineDescriptor<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more