wgpu_core::pipeline

Type Alias ResolvedFragmentState

source
pub type ResolvedFragmentState<'a> = FragmentState<'a, Arc<ShaderModule>>;
Expand description

cbindgen:ignore

Aliased Type§

struct ResolvedFragmentState<'a> {
    pub stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>,
    pub targets: Cow<'a, [Option<ColorTargetState>]>,
}

Fields§

§stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>

The compiled fragment stage and its entry point.

§targets: Cow<'a, [Option<ColorTargetState>]>

The effect of draw calls on the color aspect of the output target.