pub struct ArenaPrepareArgs {Show 25 fields
pub positions_off: usize,
pub positions_len: usize,
pub scales_off: usize,
pub scales_len: usize,
pub rotations_off: usize,
pub rotations_len: usize,
pub opacities_off: usize,
pub opacities_len: usize,
pub colors_off: usize,
pub colors_len: usize,
pub sh_coeffs_off: usize,
pub sh_coeffs_len: usize,
pub meta_off: usize,
pub meta_len: usize,
pub prep_off: usize,
pub prep_len: usize,
pub width: u32,
pub height: u32,
pub tile_size: u32,
pub radius_scale: f32,
pub alpha_cutoff: f32,
pub max_splat_steps: u32,
pub transmittance_threshold: f32,
pub max_list_entries: u32,
pub base: *mut u8,
}Expand description
Arena arguments for [Op::GaussianSplatPrepare].
Fields§
§positions_off: usize§positions_len: usize§scales_off: usize§scales_len: usize§rotations_off: usize§rotations_len: usize§opacities_off: usize§opacities_len: usize§colors_off: usize§colors_len: usize§sh_coeffs_off: usize§sh_coeffs_len: usize§meta_off: usize§meta_len: usize§prep_off: usize§prep_len: usize§width: u32§height: u32§tile_size: u32§radius_scale: f32§alpha_cutoff: f32§max_splat_steps: u32§transmittance_threshold: f32§max_list_entries: u32§base: *mut u8Auto Trait Implementations§
impl Freeze for ArenaPrepareArgs
impl RefUnwindSafe for ArenaPrepareArgs
impl !Send for ArenaPrepareArgs
impl !Sync for ArenaPrepareArgs
impl Unpin for ArenaPrepareArgs
impl UnsafeUnpin for ArenaPrepareArgs
impl UnwindSafe for ArenaPrepareArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more