pub struct AutoSplit {
pub third_person_only: Vec<u32>,
pub both: Vec<u32>,
}Expand description
Triangle groups produced by the auto first-person split.
Each entry is a zero-based triangle ordinal. Multiply it by three to get
the first corresponding position in RenderPrimitive::indices.
Fields§
§third_person_only: Vec<u32>Triangles containing head-related vertices; hidden from the first-person camera.
both: Vec<u32>The remaining triangles; rendered by every camera.
Trait Implementations§
impl Eq for AutoSplit
impl StructuralPartialEq for AutoSplit
Auto Trait Implementations§
impl Freeze for AutoSplit
impl RefUnwindSafe for AutoSplit
impl Send for AutoSplit
impl Sync for AutoSplit
impl Unpin for AutoSplit
impl UnsafeUnpin for AutoSplit
impl UnwindSafe for AutoSplit
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