pub struct Meshlet3D { /* private fields */ }Expand description
Nanite-style virtualized geometry cluster storing tight bounds, normal cone, and triangle slice.
Implementations§
Source§impl Meshlet3D
impl Meshlet3D
pub fn get_first_tri(&self) -> u32
pub fn get_mut_first_tri(&mut self) -> &mut u32
pub fn set_first_tri(&mut self, val: u32) -> &mut Self
pub fn get_tri_count(&self) -> u32
pub fn get_mut_tri_count(&mut self) -> &mut u32
pub fn set_tri_count(&mut self, val: u32) -> &mut Self
pub fn get_bounds(&self) -> Aabb3D
pub fn get_mut_bounds(&mut self) -> &mut Aabb3D
pub fn set_bounds(&mut self, val: Aabb3D) -> &mut Self
pub fn get_cone_axis(&self) -> Vec3
pub fn get_mut_cone_axis(&mut self) -> &mut Vec3
pub fn set_cone_axis(&mut self, val: Vec3) -> &mut Self
pub fn get_cone_cutoff(&self) -> f32
pub fn get_mut_cone_cutoff(&mut self) -> &mut f32
pub fn set_cone_cutoff(&mut self, val: f32) -> &mut Self
pub fn get_screen_error(&self) -> f32
pub fn get_mut_screen_error(&mut self) -> &mut f32
pub fn set_screen_error(&mut self, val: f32) -> &mut Self
Trait Implementations§
impl Copy for Meshlet3D
impl StructuralPartialEq for Meshlet3D
Auto Trait Implementations§
impl Forget for Meshlet3D
impl Freeze for Meshlet3D
impl Move for Meshlet3D
impl RefUnwindSafe for Meshlet3D
impl Send for Meshlet3D
impl Sync for Meshlet3D
impl Unpin for Meshlet3D
impl UnsafeUnpin for Meshlet3D
impl UnwindSafe for Meshlet3D
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