Protocol

MTLCounterSampleBuffer

An object that stores counter samples.

Declaration

protocol MTLCounterSampleBuffer

Topics

Identifying the Counter Sample Buffer

var device: MTLDevice

The device object that created the counter sample buffer.

Required.

var label: String

A string that identifies the counter sample buffer.

Required.

Retrieving Sample Information

var sampleCount: Int

The number of samples in the buffer.

Required.

Relationships

Inherits From

See Also

Sample Buffers

class MTLCounterSampleBufferDescriptor

A description of how to create a counter sample buffer.

var MTLCounterDontSample: Int

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