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>
impl<'a, SM: Clone> Clone for FragmentState<'a, SM>
Source§fn clone(&self) -> FragmentState<'a, SM>
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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>,
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>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more