Struct wgpu::VertexBufferLayout [−][src]
pub struct VertexBufferLayout<'a> { pub array_stride: BufferAddress, pub step_mode: InputStepMode, pub attributes: &'a [VertexAttribute], }
Expand description
Describes how the vertex buffer is interpreted.
Fields
array_stride: BufferAddress
The stride, in bytes, between elements of this buffer.
step_mode: InputStepMode
How often this vertex buffer is “stepped” forward.
attributes: &'a [VertexAttribute]
The list of attributes which comprise a single vertex.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for VertexBufferLayout<'a>
impl<'a> Send for VertexBufferLayout<'a>
impl<'a> Sync for VertexBufferLayout<'a>
impl<'a> Unpin for VertexBufferLayout<'a>
impl<'a> UnwindSafe for VertexBufferLayout<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.