pub struct Scene3dStatistics { /* private fields */ }Expand description
Current scene-owned capacities and unique mesh allocations, excluding drivers.
Implementations§
Source§impl Scene3dStatistics
impl Scene3dStatistics
Sourcepub const fn texture_count(self) -> usize
pub const fn texture_count(self) -> usize
Distinct shared textures referenced by live objects, including hidden ones.
Sourcepub const fn texture_cpu_bytes(self) -> usize
pub const fn texture_cpu_bytes(self) -> usize
Unique retained texture-pixel capacity, excluding fixed binding metadata.
Sourcepub const fn texture_gpu_bytes(self) -> usize
pub const fn texture_gpu_bytes(self) -> usize
Unique nominal GPU texel storage, excluding driver overhead.
Sourcepub const fn object_count(self) -> usize
pub const fn object_count(self) -> usize
Number of live objects, including hidden ones.
Sourcepub const fn slot_capacity(self) -> usize
pub const fn slot_capacity(self) -> usize
Retained lookup-slot capacity, reused after removals.
Sourcepub const fn storage_bytes(self) -> usize
pub const fn storage_bytes(self) -> usize
CPU bookkeeping capacity; does not include source topology.
Sourcepub const fn mesh_count(self) -> usize
pub const fn mesh_count(self) -> usize
Distinct retained GPU meshes, not the number of references.
Sourcepub const fn mesh_cpu_bytes(self) -> usize
pub const fn mesh_cpu_bytes(self) -> usize
Unique source topology bytes; two GPU uploads of one source count once.
Sourcepub const fn mesh_gpu_bytes(self) -> usize
pub const fn mesh_gpu_bytes(self) -> usize
Unique GPU buffer bytes; excludes opaque driver/in-flight allocations.
Trait Implementations§
Source§impl Clone for Scene3dStatistics
impl Clone for Scene3dStatistics
Source§fn clone(&self) -> Scene3dStatistics
fn clone(&self) -> Scene3dStatistics
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 moreimpl Copy for Scene3dStatistics
Source§impl Debug for Scene3dStatistics
impl Debug for Scene3dStatistics
impl Eq for Scene3dStatistics
Source§impl PartialEq for Scene3dStatistics
impl PartialEq for Scene3dStatistics
impl StructuralPartialEq for Scene3dStatistics
Auto Trait Implementations§
impl Freeze for Scene3dStatistics
impl RefUnwindSafe for Scene3dStatistics
impl Send for Scene3dStatistics
impl Sync for Scene3dStatistics
impl Unpin for Scene3dStatistics
impl UnsafeUnpin for Scene3dStatistics
impl UnwindSafe for Scene3dStatistics
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.