pub struct VertexStep {
pub stride: BufferAddress,
pub last_stride: BufferAddress,
pub mode: VertexStepMode,
}Expand description
How a render pipeline will retrieve attributes from a particular vertex buffer.
Fields§
§stride: BufferAddressThe byte stride in the buffer between one attribute value and the next.
last_stride: BufferAddressThe byte size required to fit the last vertex in the stream.
mode: VertexStepModeWhether the buffer is indexed by vertex number or instance number.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VertexStep
impl RefUnwindSafe for VertexStep
impl Send for VertexStep
impl Sync for VertexStep
impl Unpin for VertexStep
impl UnsafeUnpin 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