pub struct FragmentState<'a, SM = Arc<ShaderModule>> {
pub stage: ProgrammableStageDescriptor<'a, SM>,
pub targets: Cow<'a, [Option<ColorTargetState>]>,
}Expand description
Describes fragment processing in a render pipeline. cbindgen:ignore
Fields§
§stage: ProgrammableStageDescriptor<'a, SM>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, SM: Clone> Clone for FragmentState<'a, SM>
impl<'a, SM: Clone> Clone for FragmentState<'a, SM>
Source§impl<'a, SM: Debug> Debug for FragmentState<'a, SM>
impl<'a, SM: Debug> Debug for FragmentState<'a, SM>
Source§impl<'de, 'a, SM> Deserialize<'de> for FragmentState<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature serde only.
impl<'de, 'a, SM> Deserialize<'de> for FragmentState<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a, SM> Forget for FragmentState<'a, SM>
impl<'a, SM> Freeze for FragmentState<'a, SM>
impl<'a, SM> Move for FragmentState<'a, SM>
impl<'a, SM> RefUnwindSafe for FragmentState<'a, SM>
impl<'a, SM> Send for FragmentState<'a, SM>
impl<'a, SM> Sync for FragmentState<'a, SM>
impl<'a, SM> Unpin for FragmentState<'a, SM>
impl<'a, SM> UnsafeUnpin for FragmentState<'a, SM>where
SM: UnsafeUnpin,
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, f64)>: UnsafeUnpin,
&'a [Option<ColorTargetState>]: UnsafeUnpin,
Vec<Option<ColorTargetState>>: UnsafeUnpin,
impl<'a, SM> UnwindSafe for FragmentState<'a, SM>where
SM: UnwindSafe,
&'a str: UnwindSafe,
String: UnwindSafe,
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
&'a [Option<ColorTargetState>]: UnwindSafe,
Vec<Option<ColorTargetState>>: UnwindSafe,
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