Trait objc2_metal::MTLCounterSampleBuffer
source · pub unsafe trait MTLCounterSampleBuffer: NSObjectProtocol + IsRetainable {
// Provided methods
unsafe fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message { ... }
unsafe fn label(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn sampleCount(&self) -> NSUInteger
where Self: Sized + Message { ... }
unsafe fn resolveCounterRange(
&self,
range: NSRange
) -> Option<Retained<NSData>>
where Self: Sized + Message { ... }
}Available on crate feature
MTLCounters only.Provided Methods§
unsafe fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
Available on crate feature
MTLDevice only.