ResolvedFragmentState

Type Alias ResolvedFragmentState 

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

cbindgen:ignore

Aliased Type§

pub 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.

Trait Implementations§

Source§

impl<'a> IntoTrace for ResolvedFragmentState<'a>

Available on crate feature trace and (crate features trace or replay) only.
Source§

type Output = FragmentState<'a, PointerId<ShaderModule>>

Source§

fn into_trace(self) -> Self::Output

Source§

fn to_trace(&self) -> Self::Output
where Self: Sized + Clone,