wgpu_core::pipeline

Type Alias ResolvedFragmentState

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

cbindgen:ignore

Aliased Type§

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, SM: Clone> Clone for FragmentState<'a, SM>

Source§

fn clone(&self) -> FragmentState<'a, SM>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a, SM: Debug> Debug for FragmentState<'a, SM>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a, SM> Deserialize<'de> for FragmentState<'a, SM>
where SM: Deserialize<'de>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a, SM> Serialize for FragmentState<'a, SM>
where SM: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more