Contents

startOfEncoderSampleIndex

An index within a counter sample buffer that tells the GPU where to store counter data from the start of a blit pass.

Declaration

var startOfEncoderSampleIndex: Int { get set }

Mentioned in

Discussion

This property indicates where the GPU stores the counter data within an MTLCounterSampleBuffer instance that it samples at the beginning of a blit pass.

You can tell the GPU to skip sampling at the start of the blit pass by assigning MTLCounterDontSample to this property.

See Also

Configuring the sample buffer attachment