Type Alias ResolvedGeneralRenderPipelineDescriptor
pub type ResolvedGeneralRenderPipelineDescriptor<'a> = GeneralRenderPipelineDescriptor<'a, Arc<PipelineLayout>, Arc<ShaderModule>, Arc<PipelineCache>>;Available on crate feature
unstable-wgpu-28 only.Expand description
Not a public API. For use by player only.
cbindgen:ignore
Aliased Type§
pub struct ResolvedGeneralRenderPipelineDescriptor<'a> {
pub label: Option<Cow<'a, str>>,
pub layout: Option<Arc<PipelineLayout>>,
pub vertex: RenderPipelineVertexProcessor<'a, Arc<ShaderModule>>,
pub primitive: PrimitiveState,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: MultisampleState,
pub fragment: Option<FragmentState<'a, Arc<ShaderModule>>>,
pub multiview_mask: Option<NonZero<u32>>,
pub cache: Option<Arc<PipelineCache>>,
}Fields§
§label: Option<Cow<'a, str>>§layout: Option<Arc<PipelineLayout>>The layout of bind groups for this pipeline.
vertex: RenderPipelineVertexProcessor<'a, Arc<ShaderModule>>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, Arc<ShaderModule>>>The fragment processing state for this pipeline.
multiview_mask: Option<NonZero<u32>>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.