Protocol

MTLCounterSampleBuffer

An object that stores counter samples.

Declaration

@protocol MTLCounterSampleBuffer

Topics

Identifying the Counter Sample Buffer

device

The device object that created the counter sample buffer.

Required.

label

A string that identifies the counter sample buffer.

Required.

Retrieving Sample Information

sampleCount

The number of samples in the buffer.

Required.

- resolveCounterRange:

Resolve the counters from a range of samples and copy them to memory.

Required.

Relationships

Inherits From

See Also

Sample Buffers

MTLCounterSampleBufferDescriptor

A description of how to create a counter sample buffer.

MTLCounterDontSample

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