pub struct TessellationStats { /* private fields */ }Expand description
Outcome of converting accepted scene commands into GPU vertices.
A dropped command had finite source fields but produced no finite triangle vertices, usually because arithmetic overflowed while expanding geometry. Hosts can surface this separately from presentation success.
Implementations§
Source§impl TessellationStats
impl TessellationStats
Sourcepub fn command_count(self) -> usize
pub fn command_count(self) -> usize
Returns accepted source commands examined by the tessellator.
Sourcepub fn rendered_command_count(self) -> usize
pub fn rendered_command_count(self) -> usize
Returns source commands that emitted finite triangle vertices.
Sourcepub fn dropped_command_count(self) -> usize
pub fn dropped_command_count(self) -> usize
Returns source commands discarded because tessellation emitted no valid geometry.
Trait Implementations§
Source§impl Clone for TessellationStats
impl Clone for TessellationStats
Source§fn clone(&self) -> TessellationStats
fn clone(&self) -> TessellationStats
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 TessellationStats
Source§impl Debug for TessellationStats
impl Debug for TessellationStats
Source§impl Default for TessellationStats
impl Default for TessellationStats
Source§fn default() -> TessellationStats
fn default() -> TessellationStats
Returns the “default value” for a type. Read more
impl Eq for TessellationStats
Source§impl PartialEq for TessellationStats
impl PartialEq for TessellationStats
impl StructuralPartialEq for TessellationStats
Auto Trait Implementations§
impl Freeze for TessellationStats
impl RefUnwindSafe for TessellationStats
impl Send for TessellationStats
impl Sync for TessellationStats
impl Unpin for TessellationStats
impl UnsafeUnpin for TessellationStats
impl UnwindSafe for TessellationStats
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.