pub struct VertexCacheStatistics {
pub vertices_transformed: u32,
pub warps_executed: u32,
pub acmr: f32,
pub atvr: f32,
}Expand description
Result of upstream meshopt_analyzeVertexCache.
Fields§
§vertices_transformed: u32Number of vertex shader transforms.
warps_executed: u32Number of nonempty simulated warps.
acmr: f32Transforms divided by triangle count.
atvr: f32Transforms divided by unique vertex count.
Trait Implementations§
Source§impl Clone for VertexCacheStatistics
impl Clone for VertexCacheStatistics
impl Copy for VertexCacheStatistics
Source§impl Debug for VertexCacheStatistics
impl Debug for VertexCacheStatistics
Source§impl Default for VertexCacheStatistics
impl Default for VertexCacheStatistics
Source§impl PartialEq for VertexCacheStatistics
impl PartialEq for VertexCacheStatistics
impl StructuralPartialEq for VertexCacheStatistics
Auto Trait Implementations§
impl Forget for VertexCacheStatistics
impl Freeze for VertexCacheStatistics
impl Move for VertexCacheStatistics
impl RefUnwindSafe for VertexCacheStatistics
impl Send for VertexCacheStatistics
impl Sync for VertexCacheStatistics
impl Unpin for VertexCacheStatistics
impl UnsafeUnpin for VertexCacheStatistics
impl UnwindSafe for VertexCacheStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more