<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVMetalBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@T@CVMetalBufferRef"
  },
  "title" : "CVMetalBuffer"
}
-->

# CVMetalBuffer

```
typealias CVMetalBuffer = CVBuffer
```

## Discussion

\abstract Metal buffer based CVPixelBuffer wrapped buffer
\discussion IMPORTANT NOTE: Clients should retain CVMetalBuffer objects until they are done using the contents in them.
Retaining a CVMetalBuffer is your way to indicate that you’re still using the image in the buffer, and that it should not be recycled yet.

---

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)