A description of how to create a counter sample buffer.
SDK
- macOS 10.15+
Framework
- Metal
Declaration
@interface MTLCounterSampleBufferDescriptor : NSObject
A description of how to create a counter sample buffer.
SDK
Framework
@interface MTLCounterSampleBufferDescriptor : NSObject
counter Set
The counter set to sample.
label
A label for the counter sample buffer.
sample Count
The number of samples that can be stored in the buffer.
storage Mode
The storage mode to use for the sample buffer.
MTLCounter Sample Buffer
An object that stores counter samples.
MTLCounter Dont Sample
A value that indicates that you want a sample to be omitted.