#[repr(transparent)]pub struct MTLCounterSamplingPoint(pub NSUInteger);Available on crate feature
MTLDevice only.Expand description
MTLCounterSamplingPoint determines type of sampling points that are supported on given device.
Counter sampling points at render, compute, and blit command encoder stage boundary are supported.
Counter sampling at draw boundary is supported, render encoder method sampleCountersInBuffer can be used for sampling.
Counter sampling at compute dispatch boundary is supported, compute encoder method sampleCountersInBuffer can be used for sampling.
Counter sampling at tile shader dispatch boundary is supported.
Counter sampling at blit boundary is supported, blit encoder method sampleCountersInBuffer can be used for sampling.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl MTLCounterSamplingPoint
impl MTLCounterSamplingPoint
pub const AtStageBoundary: Self
pub const AtDrawBoundary: Self
pub const AtDispatchBoundary: Self
pub const AtTileDispatchBoundary: Self
pub const AtBlitBoundary: Self
Trait Implementations§
Source§impl Clone for MTLCounterSamplingPoint
impl Clone for MTLCounterSamplingPoint
Source§fn clone(&self) -> MTLCounterSamplingPoint
fn clone(&self) -> MTLCounterSamplingPoint
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 MTLCounterSamplingPoint
impl Debug for MTLCounterSamplingPoint
Source§impl Encode for MTLCounterSamplingPoint
impl Encode for MTLCounterSamplingPoint
Source§impl Hash for MTLCounterSamplingPoint
impl Hash for MTLCounterSamplingPoint
Source§impl Ord for MTLCounterSamplingPoint
impl Ord for MTLCounterSamplingPoint
Source§fn cmp(&self, other: &MTLCounterSamplingPoint) -> Ordering
fn cmp(&self, other: &MTLCounterSamplingPoint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MTLCounterSamplingPoint
impl PartialEq for MTLCounterSamplingPoint
Source§impl PartialOrd for MTLCounterSamplingPoint
impl PartialOrd for MTLCounterSamplingPoint
Source§impl RefEncode for MTLCounterSamplingPoint
impl RefEncode for MTLCounterSamplingPoint
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLCounterSamplingPoint
impl Eq for MTLCounterSamplingPoint
impl StructuralPartialEq for MTLCounterSamplingPoint
Auto Trait Implementations§
impl Freeze for MTLCounterSamplingPoint
impl RefUnwindSafe for MTLCounterSamplingPoint
impl Send for MTLCounterSamplingPoint
impl Sync for MTLCounterSamplingPoint
impl Unpin for MTLCounterSamplingPoint
impl UnwindSafe for MTLCounterSamplingPoint
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.