---
title: "init(cvPixelBuffer:properties:)"
framework: coreimage
role: symbol
role_heading: Initializer
path: "coreimage/cirawfilter/init(cvpixelbuffer:properties:)-6209q"
---

# init(cvPixelBuffer:properties:)

Creates a RAW filter from the pixel buffer and its properties that you specify.

## Declaration

```swift
convenience init?(cvPixelBuffer buffer: CVPixelBuffer, properties: [AnyHashable : Any])
```

## Parameters

- `buffer`: A Core Video pixel buffer.
- `properties`: A dictionary that defines the properties of the pixel buffer.

## See Also

### Creating a filter

- [init(imageData:identifierHint:)](coreimage/cirawfilter/init(imagedata:identifierhint:).md)
- [init(imageURL:)](coreimage/cirawfilter/init(imageurl:).md)
