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: BufferAddress
The byte stride in the buffer between one attribute value and the next.
last_stride: BufferAddress
The byte size required to fit the last vertex in the stream.
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
impl Copy for VertexStep
Auto Trait Implementations§
impl Freeze for VertexStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)