pub struct ParticleFieldUpdateReport { /* private fields */ }Expand description
CPU-side outcome of one particle-field update.
Implementations§
Source§impl ParticleFieldUpdateReport
impl ParticleFieldUpdateReport
Sourcepub fn statistics(self) -> ParticleStatistics
pub fn statistics(self) -> ParticleStatistics
Returns submitted, visible, dropped, and rendered instance counts.
Sourcepub fn preparation(self) -> Duration
pub fn preparation(self) -> Duration
Returns CPU time spent validating and retaining the new visual state.
GPU upload is deferred until rendering, after camera culling has selected the compact visible set.
Sourcepub fn upload(self) -> Duration
👎Deprecated: particle GPU upload is deferred to render; use preparation()
pub fn upload(self) -> Duration
particle GPU upload is deferred to render; use preparation()
Backward-compatible alias for ParticleFieldUpdateReport::preparation.
Sourcepub fn reallocated(self) -> bool
pub fn reallocated(self) -> bool
Returns whether this update grew and replaced the GPU instance buffer.
Trait Implementations§
Source§impl Clone for ParticleFieldUpdateReport
impl Clone for ParticleFieldUpdateReport
impl Copy for ParticleFieldUpdateReport
Source§impl Debug for ParticleFieldUpdateReport
impl Debug for ParticleFieldUpdateReport
impl Eq for ParticleFieldUpdateReport
impl StructuralPartialEq for ParticleFieldUpdateReport
Auto Trait Implementations§
impl Freeze for ParticleFieldUpdateReport
impl RefUnwindSafe for ParticleFieldUpdateReport
impl Send for ParticleFieldUpdateReport
impl Sync for ParticleFieldUpdateReport
impl Unpin for ParticleFieldUpdateReport
impl UnsafeUnpin for ParticleFieldUpdateReport
impl UnwindSafe for ParticleFieldUpdateReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.