---
title: MTLCounterSamplingPoint.atTileDispatchBoundary
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcountersamplingpoint/attiledispatchboundary
---

# MTLCounterSamplingPoint.atTileDispatchBoundary

Counter sampling is allowed between tile dispatches in a render pass.

## Declaration

```swift
case atTileDispatchBoundary
```

## Mentioned in

Sampling GPU data into counter sample buffers

## Discussion

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 tile shader dispatches commands.

## See Also

### Reading sampling boundary types

- [MTLCounterSamplingPoint.atBlitBoundary](metal/mtlcountersamplingpoint/atblitboundary.md)
- [MTLCounterSamplingPoint.atDispatchBoundary](metal/mtlcountersamplingpoint/atdispatchboundary.md)
- [MTLCounterSamplingPoint.atDrawBoundary](metal/mtlcountersamplingpoint/atdrawboundary.md)
- [MTLCounterSamplingPoint.atStageBoundary](metal/mtlcountersamplingpoint/atstageboundary.md)
