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
sourceimpl Clone for VertexStep
impl Clone for VertexStep
sourcefn clone(&self) -> VertexStep
fn clone(&self) -> VertexStep
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VertexStep
impl Debug for VertexStep
sourceimpl Default for VertexStep
impl Default for VertexStep
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more