Struct sierra::VertexInputBinding
source · pub struct VertexInputBinding {
pub rate: VertexInputRate,
pub stride: u32,
}
Expand description
Vertex buffer binding bahavior. Controls what subrange corresponds for vertex X of instance Y.
Fields§
§rate: VertexInputRate
Controls iteration frequency.
stride: u32
Size of the iteration step.
Trait Implementations§
source§impl Clone for VertexInputBinding
impl Clone for VertexInputBinding
source§fn clone(&self) -> VertexInputBinding
fn clone(&self) -> VertexInputBinding
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 VertexInputBinding
impl Debug for VertexInputBinding
source§impl Hash for VertexInputBinding
impl Hash for VertexInputBinding
source§impl PartialEq<VertexInputBinding> for VertexInputBinding
impl PartialEq<VertexInputBinding> for VertexInputBinding
source§fn eq(&self, other: &VertexInputBinding) -> bool
fn eq(&self, other: &VertexInputBinding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.