pub struct ScatterConfig {
pub mm_rid: Rid,
pub capacity: u32,
pub max_instances: u32,
}Expand description
Static config of one scatter layer’s GPU side (CEL-73): the target indirect
MultiMesh + the per-slot candidate capacity (k_per_cell * 4^S_MAX) + the
instance cap the compact pass clamps to.
Fields§
§mm_rid: Rid§capacity: u32§max_instances: u32Trait Implementations§
Source§impl Clone for ScatterConfig
impl Clone for ScatterConfig
Source§fn clone(&self) -> ScatterConfig
fn clone(&self) -> ScatterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScatterConfig
impl Debug for ScatterConfig
impl Copy for ScatterConfig
Auto Trait Implementations§
impl Freeze for ScatterConfig
impl RefUnwindSafe for ScatterConfig
impl Send for ScatterConfig
impl Sync for ScatterConfig
impl Unpin for ScatterConfig
impl UnsafeUnpin for ScatterConfig
impl UnwindSafe for ScatterConfig
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