#[repr(C, packed(1))]pub struct CounterResultStatistic {
pub tessellation_input_patches: u64,
pub vertex_invocations: u64,
pub post_tessellation_vertex_invocations: u64,
pub clipper_invocations: u64,
pub clipper_primitives_out: u64,
pub fragment_invocations: u64,
pub fragments_passed: u64,
pub compute_kernel_invocations: u64,
}Expand description
Statistics counter result.
C++ equivalent: MTL::CounterResultStatistic
Fields§
§tessellation_input_patches: u64Number of tessellation input patches.
vertex_invocations: u64Number of vertex shader invocations.
post_tessellation_vertex_invocations: u64Number of post-tessellation vertex invocations.
clipper_invocations: u64Number of clipper invocations.
clipper_primitives_out: u64Number of primitives output by the clipper.
fragment_invocations: u64Number of fragment shader invocations.
fragments_passed: u64Number of fragments that passed all tests.
compute_kernel_invocations: u64Number of compute kernel invocations.
Trait Implementations§
Source§impl Clone for CounterResultStatistic
impl Clone for CounterResultStatistic
Source§fn clone(&self) -> CounterResultStatistic
fn clone(&self) -> CounterResultStatistic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CounterResultStatistic
impl Debug for CounterResultStatistic
Source§impl Default for CounterResultStatistic
impl Default for CounterResultStatistic
Source§fn default() -> CounterResultStatistic
fn default() -> CounterResultStatistic
Returns the “default value” for a type. Read more
Source§impl PartialEq for CounterResultStatistic
impl PartialEq for CounterResultStatistic
impl Copy for CounterResultStatistic
impl Eq for CounterResultStatistic
impl StructuralPartialEq for CounterResultStatistic
Auto Trait Implementations§
impl Freeze for CounterResultStatistic
impl RefUnwindSafe for CounterResultStatistic
impl Send for CounterResultStatistic
impl Sync for CounterResultStatistic
impl Unpin for CounterResultStatistic
impl UnwindSafe for CounterResultStatistic
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