Contents

endOfEncoderSampleIndex

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

Declaration

var endOfEncoderSampleIndex: 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 end of a blit pass.

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

See Also

Configuring the sample buffer attachment