pub type SpecializedLitPipeline = SpecializedPipeline<RenderPipeline, LitVariant>;Expand description
The built-in lit pipeline: a compiled [wgpu::RenderPipeline] together
with the LitVariant it was built from.
LitVariant is its own PipelineVariant and PipelineDescriptor,
so the built-in shader compiles through the same cache a caller’s own
variant does, and the layouts it declares are derived from the variant
rather than stored beside the pipeline.
Aliased Type§
pub struct SpecializedLitPipeline {
pub pipeline: RenderPipeline,
pub descriptor: LitVariant,
}Fields§
§pipeline: RenderPipelineThe compiled pipeline.
descriptor: LitVariantThe descriptor it was compiled from.