pub enum VertexInputRate {
Vertex,
Instance(InstanceRate),
}
Expand description
The rate at which to advance input data to shaders for the given buffer
Variants§
Vertex
Advance the buffer after every vertex
Instance(InstanceRate)
Advance the buffer after every instance
Implementations§
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 Ord for VertexInputRate
impl Ord for VertexInputRate
Source§fn cmp(&self, other: &VertexInputRate) -> Ordering
fn cmp(&self, other: &VertexInputRate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VertexInputRate
impl PartialEq for VertexInputRate
Source§impl PartialOrd for VertexInputRate
impl PartialOrd for VertexInputRate
impl Copy for VertexInputRate
impl Eq for VertexInputRate
impl StructuralPartialEq for VertexInputRate
Auto Trait Implementations§
impl Freeze for VertexInputRate
impl RefUnwindSafe for VertexInputRate
impl Send for VertexInputRate
impl Sync for VertexInputRate
impl Unpin for VertexInputRate
impl UnwindSafe for VertexInputRate
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