Struct wgpu_core::pipeline::ResolvedFragmentState
source · pub struct ResolvedFragmentState<'a> {
pub stage: ResolvedProgrammableStageDescriptor<'a>,
pub targets: Cow<'a, [Option<ColorTargetState>]>,
}
Expand description
Describes fragment processing in a render pipeline.
Fields§
§stage: ResolvedProgrammableStageDescriptor<'a>
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> Clone for ResolvedFragmentState<'a>
impl<'a> Clone for ResolvedFragmentState<'a>
source§fn clone(&self) -> ResolvedFragmentState<'a>
fn clone(&self) -> ResolvedFragmentState<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedFragmentState<'a>
impl<'a> !RefUnwindSafe for ResolvedFragmentState<'a>
impl<'a> Send for ResolvedFragmentState<'a>
impl<'a> Sync for ResolvedFragmentState<'a>
impl<'a> Unpin for ResolvedFragmentState<'a>
impl<'a> !UnwindSafe for ResolvedFragmentState<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)