pub struct Mesh3dRenderReport { /* private fields */ }Expand description
CPU-side result of one depth-tested offscreen 3D draw.
Implementations§
Source§impl Mesh3dRenderReport
impl Mesh3dRenderReport
Sourcepub const fn object_count(self) -> usize
pub const fn object_count(self) -> usize
Returns independently transformed retained objects drawn.
Sourcepub const fn triangle_count(self) -> usize
pub const fn triangle_count(self) -> usize
Returns total indexed triangles submitted across every object.
Sourcepub const fn edge_count(self) -> usize
pub const fn edge_count(self) -> usize
Returns explicit mathematical edges submitted for depth classification.
Sourcepub const fn upload(self) -> Duration
pub const fn upload(self) -> Duration
Returns CPU time spent validating and enqueuing camera/instance uploads.
Sourcepub const fn encode_submit(self) -> Duration
pub const fn encode_submit(self) -> Duration
Returns CPU time spent encoding and submitting the pass.
Trait Implementations§
Source§impl Clone for Mesh3dRenderReport
impl Clone for Mesh3dRenderReport
Source§fn clone(&self) -> Mesh3dRenderReport
fn clone(&self) -> Mesh3dRenderReport
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 Mesh3dRenderReport
Source§impl Debug for Mesh3dRenderReport
impl Debug for Mesh3dRenderReport
impl Eq for Mesh3dRenderReport
Source§impl PartialEq for Mesh3dRenderReport
impl PartialEq for Mesh3dRenderReport
impl StructuralPartialEq for Mesh3dRenderReport
Auto Trait Implementations§
impl Freeze for Mesh3dRenderReport
impl RefUnwindSafe for Mesh3dRenderReport
impl Send for Mesh3dRenderReport
impl Sync for Mesh3dRenderReport
impl Unpin for Mesh3dRenderReport
impl UnsafeUnpin for Mesh3dRenderReport
impl UnwindSafe for Mesh3dRenderReport
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.