---
title: "init(_:)"
framework: corevideo
role: symbol
role_heading: Initializer
path: "corevideo/cvpixelbuffercreationattributes/init(_:)"
---

# init(_:)

Convert Attributes to CreationAttributes. This init will fail if pixelFormatType or size properties are absent.

## Declaration

```swift
init?(_ attributes: CVPixelBufferAttributes)
```
