pub struct OutputUse {
pub label: Label,
pub target: u32,
pub blend_weight: u8,
pub discard_tested: u8,
}Expand description
What a pixel program’s code and its target’s stated blend show of the lanes of one output that is a render target
(iridia::output_uses::output_uses): observations, not roles. Each is a lane mask, bit k lane k.
Fields§
§label: LabelThe output.
target: u32The render target it is written to: its system value SV_Target<n>, or its label’s index where it has none.
blend_weight: u8Lane 3 where the target’s stated blend weighs the colour by the source alpha (the colour equation’s source or
destination factor is SrcAlpha or OneMinusSrcAlpha), else none.
discard_tested: u8The lanes whose written value is among what a discard’s conditions are made of. A literal is no evidence (equal literals are one node of the value graph); none where the program’s value graph was not given.
Trait Implementations§
impl Eq for OutputUse
Source§impl Serialize for OutputUse
impl Serialize for OutputUse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for OutputUse
Auto Trait Implementations§
impl Forget for OutputUse
impl Freeze for OutputUse
impl RefUnwindSafe for OutputUse
impl Send for OutputUse
impl Sync for OutputUse
impl Unpin for OutputUse
impl UnsafeUnpin for OutputUse
impl UnwindSafe for OutputUse
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