pub enum UnityIndices {
U16(Vec<u16>),
U32(Vec<u32>),
}Expand description
Index buffer format, selected per primitive based on vertex count.
Variants§
U16(Vec<u16>)
Used when vertex_count <= 65535. Maps to Unity’s IndexFormat.UInt16.
U32(Vec<u32>)
Used when vertex_count > 65535. Maps to Unity’s IndexFormat.UInt32.
Auto Trait Implementations§
impl Freeze for UnityIndices
impl RefUnwindSafe for UnityIndices
impl Send for UnityIndices
impl Sync for UnityIndices
impl Unpin for UnityIndices
impl UnsafeUnpin for UnityIndices
impl UnwindSafe for UnityIndices
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