---
title: MTLCounterSamplingPoint.atBlitBoundary
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcountersamplingpoint/atblitboundary
---

# MTLCounterSamplingPoint.atBlitBoundary

Counter sampling is allowed between blit commands in a blit pass.

## Declaration

```swift
case atBlitBoundary
```

## 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 MTLBlitCommandEncoder to sample the counters between individual blit commands.

## See Also

### Reading sampling boundary types

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