Enum sierra::VertexInputRate
source · pub enum VertexInputRate {
Vertex,
Instance,
}
Expand description
Controls vertex input iteration frequency.
Variants§
Vertex
Iterate value once per vertex. Repeat for each instance.
Instance
Iterate value once per instance. All vertices of an instance will use same value.
Trait Implementations§
source§impl Clone for VertexInputRate
impl Clone for VertexInputRate
source§fn clone(&self) -> VertexInputRate
fn clone(&self) -> VertexInputRate
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 VertexInputRate
impl Debug for VertexInputRate
source§impl Hash for VertexInputRate
impl Hash for VertexInputRate
source§impl PartialEq<VertexInputRate> for VertexInputRate
impl PartialEq<VertexInputRate> for VertexInputRate
source§fn eq(&self, other: &VertexInputRate) -> bool
fn eq(&self, other: &VertexInputRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.