A description of how to create a counter sample buffer.
On This Page
class MTLCounterSampleBufferDescriptor : NSObject
var counterSet: MTLCounterSet
The counter set to sample.
var label: String
A label for the counter sample buffer.
var sampleCount: Int
The number of samples that can be stored in the buffer.
var storageMode: MTLStorageMode
The storage mode to use for the sample buffer.
An object that stores counter samples.
var MTLCounterDontSample: Int
A value that indicates that you want a sample to be omitted.
var MTLMaxRenderPassSampleBuffers: Int32