pub enum VertexInstancing {
On,
Off,
}Expand description
Should vertex instancing be used for a vertex attribute?
Enabling this is done per attribute but if you enable it for a single attribute of a struct, it should be enabled for all others (interleaved vertex instancing is not supported).
Variants§
Trait Implementations§
Source§impl Clone for VertexInstancing
impl Clone for VertexInstancing
Source§fn clone(&self) -> VertexInstancing
fn clone(&self) -> VertexInstancing
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 VertexInstancing
impl Debug for VertexInstancing
Source§impl Hash for VertexInstancing
impl Hash for VertexInstancing
Source§impl PartialEq for VertexInstancing
impl PartialEq for VertexInstancing
impl Copy for VertexInstancing
impl Eq for VertexInstancing
impl StructuralPartialEq for VertexInstancing
Auto Trait Implementations§
impl Freeze for VertexInstancing
impl RefUnwindSafe for VertexInstancing
impl Send for VertexInstancing
impl Sync for VertexInstancing
impl Unpin for VertexInstancing
impl UnwindSafe for VertexInstancing
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