Class

MTLCounterSampleBufferDescriptor

A description of how to create a counter sample buffer.

Declaration

class MTLCounterSampleBufferDescriptor : NSObject

Topics

Specifying the Configuration of a Counter Sample Buffer

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.

Relationships

Inherits From

See Also

Sample Buffers

protocol MTLCounterSampleBuffer

An object that stores counter samples.

Beta
var MTLCounterDontSample: Int

A value that indicates that you want a sample to be omitted.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software