Struct wgpu::core::pipeline::VertexStep
source · pub struct VertexStep {
pub stride: u64,
pub mode: VertexStepMode,
}
Expand description
How a render pipeline will retrieve attributes from a particular vertex buffer.
Fields§
§stride: u64
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 moresource§impl Debug for VertexStep
impl Debug for VertexStep
source§impl Default for VertexStep
impl Default for VertexStep
source§fn default() -> VertexStep
fn default() -> VertexStep
Returns the “default value” for a type. Read more
impl Copy for VertexStep
Auto Trait Implementations§
impl RefUnwindSafe for VertexStep
impl Send for VertexStep
impl Sync for VertexStep
impl Unpin for VertexStep
impl UnwindSafe for VertexStep
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