---
title: CVMetalBuffer
framework: corevideo
role: symbol
role_heading: Type Alias
path: corevideo/cvmetalbuffer
---

# CVMetalBuffer

## Declaration

```swift
typealias CVMetalBuffer = CVBuffer
```

## Discussion

Discussion Metal buffer based CVPixelBuffer wrapped buffer 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.
