#[repr(u64)]pub enum MTLVertexStepFunction {
Constant = 0,
PerVertex = 1,
PerInstance = 2,
}Expand description
Vertex step function
Variants§
Constant = 0
Constant value (same for all vertices)
PerVertex = 1
Step once per vertex (default)
PerInstance = 2
Step once per instance
Implementations§
Trait Implementations§
Source§impl Clone for MTLVertexStepFunction
impl Clone for MTLVertexStepFunction
Source§fn clone(&self) -> MTLVertexStepFunction
fn clone(&self) -> MTLVertexStepFunction
Returns a duplicate 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 MTLVertexStepFunction
impl Debug for MTLVertexStepFunction
Source§impl Default for MTLVertexStepFunction
impl Default for MTLVertexStepFunction
Source§fn default() -> MTLVertexStepFunction
fn default() -> MTLVertexStepFunction
Returns the “default value” for a type. Read more
impl Copy for MTLVertexStepFunction
Auto Trait Implementations§
impl Freeze for MTLVertexStepFunction
impl RefUnwindSafe for MTLVertexStepFunction
impl Send for MTLVertexStepFunction
impl Sync for MTLVertexStepFunction
impl Unpin for MTLVertexStepFunction
impl UnwindSafe for MTLVertexStepFunction
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