---
title: MTLCounterSamplingPoint.atStageBoundary
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcountersamplingpoint/atstageboundary
---

# MTLCounterSamplingPoint.atStageBoundary

Counter sampling is allowed at the start and end of a render pass’s vertex and fragment stages, and at the start and end of compute and blit passes.

## Declaration

```swift
case atStageBoundary
```

## Mentioned in

Sampling GPU data into counter sample buffers

## 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.atTileDispatchBoundary](metal/mtlcountersamplingpoint/attiledispatchboundary.md)
