Struct wgpu_core::pipeline::VertexStep
source · pub struct VertexStep {
pub stride: BufferAddress,
pub mode: VertexStepMode,
}
Expand description
How a render pipeline will retrieve attributes from a particular vertex buffer.
Fields§
§stride: BufferAddress
The byte stride in the buffer between one attribute value and the next.
mode: VertexStepMode
Whether the buffer is indexed by vertex number or instance number.
Trait Implementations§
source§impl Clone for VertexStep
impl Clone for VertexStep
source§fn clone(&self) -> VertexStep
fn clone(&self) -> VertexStep
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 more