<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLCounterSamplingPoint/atBlitBoundary",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLCounterSamplingPoint@MTLCounterSamplingPointAtBlitBoundary"
  },
  "title" : "MTLCounterSamplingPoint.atBlitBoundary"
}
-->

# MTLCounterSamplingPoint.atBlitBoundary

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

```
case atBlitBoundary
```

## Discussion

When a Metal device instance supports this sampling boundary, you can call the [`sampleCounters(sampleBuffer:sampleIndex:barrier:)`](/documentation/Metal/MTLBlitCommandEncoder/sampleCounters(sampleBuffer:sampleIndex:barrier:)) method on an [`MTLBlitCommandEncoder`](/documentation/Metal/MTLBlitCommandEncoder) to sample the counters between individual blit commands.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)