wgpu_core::pipeline

Type Alias ResolvedVertexState

Source
pub type ResolvedVertexState<'a> = VertexState<'a, Arc<ShaderModule>>;
Expand description

cbindgen:ignore

Aliased Type§

struct ResolvedVertexState<'a> {
    pub stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>,
    pub buffers: Cow<'a, [VertexBufferLayout<'a>]>,
}

Fields§

§stage: ProgrammableStageDescriptor<'a, Arc<ShaderModule>>

The compiled vertex stage and its entry point.

§buffers: Cow<'a, [VertexBufferLayout<'a>]>

The format of any vertex buffers used with this pipeline.

Trait Implementations

Source§

impl<'a, SM: Clone> Clone for VertexState<'a, SM>

Source§

fn clone(&self) -> VertexState<'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 VertexState<'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 VertexState<'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 VertexState<'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