endOfFragmentSampleIndex
The index the Metal device object should use to store GPU counters when ending the render pass’s fragment stage.
Declaration
var endOfFragmentSampleIndex: Int { get set }Mentioned in
Discussion
Specify MTLCounterDontSample if you don’t want to sample GPU counters at the end of the fragment stage. Otherwise, specify an index within the sample buffer where you want the GPU to write the sample data.
On devices that don’t support MTLCounterSamplingPoint.atStageBoundary you need to set the value to MTLCounterDontSample.