MTLCounterSampleBufferDescriptor
A group of properties that configures the counter sample buffers you create with it.
Declaration
class MTLCounterSampleBufferDescriptorMentioned in
Overview
To create a new counter sample buffer, create and configure an MTLCounterSampleBufferDescriptor instance, and then call an MTLDevice instance’s makeCounterSampleBuffer(descriptor:) method. See Creating a counter sample buffer to store a GPU’s counter data during a pass.
Each new sample counter buffer inherits the values of the descriptor’s properties when you create it. You can modify a descriptor and reuse it to create other counter sample buffers, which has no effect on existing counter sample buffers.