pub struct DynamicMesh3dUpdateReport { /* private fields */ }Expand description
Exact engine-owned work/capacity counters for a committed full source update.
An identical source is still uploaded; no equality/no-op optimization is promised. Driver staging allocations and caller-side mesh construction are outside these counters. Every GPU allocation is one newly created buffer.
Implementations§
Source§impl DynamicMesh3dUpdateReport
impl DynamicMesh3dUpdateReport
Sourcepub const fn uploaded_bytes(self) -> usize
pub const fn uploaded_bytes(self) -> usize
Bytes enqueued for live vertices, indices, UVs, colors and display edges.
Sourcepub const fn upload_calls(self) -> usize
pub const fn upload_calls(self) -> usize
Actual nonempty queue buffer-write calls for this update.
Sourcepub const fn gpu_allocation_count(self) -> usize
pub const fn gpu_allocation_count(self) -> usize
Newly created GPU buffers; zero proves engine buffer reuse.
Sourcepub const fn reused_buffers(self) -> bool
pub const fn reused_buffers(self) -> bool
Whether every previous GPU buffer was reused in this update.
Sourcepub const fn detached_aliases(self) -> bool
pub const fn detached_aliases(self) -> bool
Whether immutable aliases required detaching a new complete GPU bundle.
Sourcepub const fn grew_capacity(self) -> bool
pub const fn grew_capacity(self) -> bool
Whether any reserved buffer capacity increased.
Sourcepub const fn live_gpu_bytes(self) -> usize
pub const fn live_gpu_bytes(self) -> usize
Bytes representing the live source, excluding unused GPU reserve.
Sourcepub const fn capacity_gpu_bytes(self) -> usize
pub const fn capacity_gpu_bytes(self) -> usize
Final GPU bundle capacity, including unused reserved bytes.
Sourcepub const fn scratch_capacity_bytes(self) -> usize
pub const fn scratch_capacity_bytes(self) -> usize
Retained CPU conversion-array capacity shared by subsequent renderer updates.
Sourcepub const fn scratch_reallocations(self) -> usize
pub const fn scratch_reallocations(self) -> usize
Number of conversion arrays newly reserved by the engine in this update.
Sourcepub const fn peak_staging_bytes(self) -> usize
pub const fn peak_staging_bytes(self) -> usize
Maximum old scratch plus temporary replacement scratch capacity.
Sourcepub const fn peak_gpu_bytes(self) -> usize
pub const fn peak_gpu_bytes(self) -> usize
Outgoing plus incoming GPU bytes; a reused allocation is counted once.
Sourcepub const fn peak_recovery_bytes(self) -> usize
pub const fn peak_recovery_bytes(self) -> usize
Outgoing plus incoming source capacities; identical source storage counts once.
Sourcepub const fn scene_statistics(self) -> Scene3dStatistics
pub const fn scene_statistics(self) -> Scene3dStatistics
Exact deduplicated scene-owned statistics after commit.
Trait Implementations§
Source§impl Clone for DynamicMesh3dUpdateReport
impl Clone for DynamicMesh3dUpdateReport
impl Copy for DynamicMesh3dUpdateReport
Source§impl Debug for DynamicMesh3dUpdateReport
impl Debug for DynamicMesh3dUpdateReport
impl Eq for DynamicMesh3dUpdateReport
impl StructuralPartialEq for DynamicMesh3dUpdateReport
Auto Trait Implementations§
impl Freeze for DynamicMesh3dUpdateReport
impl RefUnwindSafe for DynamicMesh3dUpdateReport
impl Send for DynamicMesh3dUpdateReport
impl Sync for DynamicMesh3dUpdateReport
impl Unpin for DynamicMesh3dUpdateReport
impl UnsafeUnpin for DynamicMesh3dUpdateReport
impl UnwindSafe for DynamicMesh3dUpdateReport
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
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
key and return true if they are equal.