pub enum UnityIndices {
U16(Vec<u16>),
U32(Vec<u32>),
}Expand description
Index buffer format, selected once based on total vertex count across all primitives.
Variants§
U16(Vec<u16>)
Used when total_vertex_count <= 65535. Maps to Unity’s IndexFormat.UInt16.
U32(Vec<u32>)
Used when total_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