pub struct Texture3dUpdateReport { /* private fields */ }Expand description
Exact edit work and nominal resource storage; no GPU timing is inferred.
Every successful edit uploads its patch, including identical input. Generated chains regenerate/upload all lower levels; their work is not region-local. Aliased edits copy the old GPU chain before patch uploads. Queue submissions and CPU durations describe this edit, not physical GPU completion.
Implementations§
Source§impl Texture3dUpdateReport
impl Texture3dUpdateReport
Sourcepub const fn base_upload_bytes(self) -> usize
pub const fn base_upload_bytes(self) -> usize
Bytes uploaded for the requested base-level rectangle, excluding source padding.
Sourcepub const fn mip_upload_bytes(self) -> usize
pub const fn mip_upload_bytes(self) -> usize
Bytes uploaded for complete regenerated lower mip levels.
Sourcepub const fn uploaded_bytes(self) -> usize
pub const fn uploaded_bytes(self) -> usize
Sum of base patch and derived mip host uploads, excluding GPU copies.
Sourcepub const fn upload_calls(self) -> usize
pub const fn upload_calls(self) -> usize
Number of queue texture upload calls.
Sourcepub const fn gpu_copy_bytes(self) -> usize
pub const fn gpu_copy_bytes(self) -> usize
Bytes copied on the GPU when detaching an aliased chain.
Sourcepub const fn gpu_copy_calls(self) -> usize
pub const fn gpu_copy_calls(self) -> usize
Number of GPU texture-copy commands.
Sourcepub const fn gpu_allocation_count(self) -> usize
pub const fn gpu_allocation_count(self) -> usize
Number of new GPU texture allocations; bindings/driver metadata are excluded.
Sourcepub const fn submission_count(self) -> usize
pub const fn submission_count(self) -> usize
Queue submissions: one upload flush, plus one copy submission when detached.
Sourcepub const fn reused_allocation(self) -> bool
pub const fn reused_allocation(self) -> bool
Whether the existing GPU texture allocation was reused.
Sourcepub const fn detached_aliases(self) -> bool
pub const fn detached_aliases(self) -> bool
Whether old immutable aliases required GPU copy-on-write.
Sourcepub const fn recovery_bytes(self) -> usize
pub const fn recovery_bytes(self) -> usize
Committed CPU chain capacity, excluding fixed storage metadata.
Sourcepub const fn staging_bytes(self) -> usize
pub const fn staging_bytes(self) -> usize
Actual packed-patch capacity plus nominal queued upload bytes.
Sourcepub const fn peak_recovery_bytes(self) -> usize
pub const fn peak_recovery_bytes(self) -> usize
Old plus candidate CPU chain capacity at preparation peak.
Sourcepub const fn peak_gpu_bytes(self) -> usize
pub const fn peak_gpu_bytes(self) -> usize
Old plus replacement nominal GPU bytes, deduplicating a reused allocation.
Sourcepub const fn regenerated_texel_count(self) -> usize
pub const fn regenerated_texel_count(self) -> usize
Number of output texels regenerated in complete lower mip levels.
Sourcepub const fn preparation_cpu(self) -> Duration
pub const fn preparation_cpu(self) -> Duration
CPU validation, copying and mip generation duration; not GPU execution time.
Sourcepub const fn encode_submit_cpu(self) -> Duration
pub const fn encode_submit_cpu(self) -> Duration
CPU resource creation, copy encoding and queue submission duration.
Trait Implementations§
Source§impl Clone for Texture3dUpdateReport
impl Clone for Texture3dUpdateReport
Source§fn clone(&self) -> Texture3dUpdateReport
fn clone(&self) -> Texture3dUpdateReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Texture3dUpdateReport
Source§impl Debug for Texture3dUpdateReport
impl Debug for Texture3dUpdateReport
impl Eq for Texture3dUpdateReport
Source§impl PartialEq for Texture3dUpdateReport
impl PartialEq for Texture3dUpdateReport
impl StructuralPartialEq for Texture3dUpdateReport
Auto Trait Implementations§
impl Freeze for Texture3dUpdateReport
impl RefUnwindSafe for Texture3dUpdateReport
impl Send for Texture3dUpdateReport
impl Sync for Texture3dUpdateReport
impl Unpin for Texture3dUpdateReport
impl UnsafeUnpin for Texture3dUpdateReport
impl UnwindSafe for Texture3dUpdateReport
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.