Contents

MTLCounterSamplingPoint.atDrawBoundary

Counter sampling is allowed between draw commands in a render pass.

Declaration

case atDrawBoundary

Mentioned in

Discussion

When a Metal device instance supports this sampling boundary, you can call the sampleCounters(sampleBuffer:sampleIndex:barrier:) method on an MTLRenderCommandEncoder to sample the counters between individual draw commands.

See Also

Reading sampling boundary types