Struct wgpu_core::pipeline::FragmentState [−][src]
pub struct FragmentState<'a> {
pub stage: ProgrammableStageDescriptor<'a>,
pub targets: Cow<'a, [ColorTargetState]>,
}
Expand description
Describes fragment processing in a render pipeline.
Fields
stage: ProgrammableStageDescriptor<'a>
The compiled fragment stage and its entry point.
targets: Cow<'a, [ColorTargetState]>
The effect of draw calls on the color aspect of the output target.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FragmentState<'a>
impl<'a> Send for FragmentState<'a>
impl<'a> Sync for FragmentState<'a>
impl<'a> Unpin for FragmentState<'a>
impl<'a> !UnwindSafe for FragmentState<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more