pub struct QuantizedMeshlet3D { /* private fields */ }Expand description
Cache-line-aligned 64-byte #[repr(C)] .euv3d v2 meshlet cluster descriptor with bounding sphere and quantized normal cone.
Implementations§
Source§impl QuantizedMeshlet3D
Implements impl #impl_generics #name #ty_generics #where_clause.
impl QuantizedMeshlet3D
Implements impl #impl_generics #name #ty_generics #where_clause.
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_min(&self) -> [f32; 3]
pub fn get_mut_bounds_min(&mut self) -> &mut [f32; 3]
pub fn set_bounds_min(&mut self, val: [f32; 3]) -> &mut Self
pub fn get_bounds_max(&self) -> [f32; 3]
pub fn get_mut_bounds_max(&mut self) -> &mut [f32; 3]
pub fn set_bounds_max(&mut self, val: [f32; 3]) -> &mut Self
pub fn get_sphere_center(&self) -> [f32; 3]
pub fn get_mut_sphere_center(&mut self) -> &mut [f32; 3]
pub fn set_sphere_center(&mut self, val: [f32; 3]) -> &mut Self
pub fn get_sphere_radius(&self) -> f32
pub fn get_mut_sphere_radius(&mut self) -> &mut f32
pub fn set_sphere_radius(&mut self, val: f32) -> &mut Self
pub fn get_cone_apex(&self) -> [f32; 3]
pub fn get_mut_cone_apex(&mut self) -> &mut [f32; 3]
pub fn set_cone_apex(&mut self, val: [f32; 3]) -> &mut Self
pub fn get_cone_axis_s8(&self) -> [i8; 3]
pub fn get_mut_cone_axis_s8(&mut self) -> &mut [i8; 3]
pub fn set_cone_axis_s8(&mut self, val: [i8; 3]) -> &mut Self
pub fn get_cone_cutoff_s8(&self) -> i8
pub fn get_mut_cone_cutoff_s8(&mut self) -> &mut i8
pub fn set_cone_cutoff_s8(&mut self, val: i8) -> &mut Self
Trait Implementations§
Source§impl Clone for QuantizedMeshlet3D
impl Clone for QuantizedMeshlet3D
impl Copy for QuantizedMeshlet3D
Source§impl Debug for QuantizedMeshlet3D
impl Debug for QuantizedMeshlet3D
Source§impl Default for QuantizedMeshlet3D
impl Default for QuantizedMeshlet3D
Source§impl PartialEq for QuantizedMeshlet3D
impl PartialEq for QuantizedMeshlet3D
impl StructuralPartialEq for QuantizedMeshlet3D
Auto Trait Implementations§
impl Forget for QuantizedMeshlet3D
impl Freeze for QuantizedMeshlet3D
impl Move for QuantizedMeshlet3D
impl RefUnwindSafe for QuantizedMeshlet3D
impl Send for QuantizedMeshlet3D
impl Sync for QuantizedMeshlet3D
impl Unpin for QuantizedMeshlet3D
impl UnsafeUnpin for QuantizedMeshlet3D
impl UnwindSafe for QuantizedMeshlet3D
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