Enum wgpu_types::InputStepMode
source · #[repr(C)]
pub enum InputStepMode {
Vertex,
Instance,
}
Expand description
Rate that determines when vertex data is advanced.
Variants§
Vertex
Input data is advanced every vertex. This is the standard value for vertex data.
Instance
Input data is advanced every instance.
Trait Implementations§
source§impl Clone for InputStepMode
impl Clone for InputStepMode
source§fn clone(&self) -> InputStepMode
fn clone(&self) -> InputStepMode
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 more