---
title: "init(CGLayer:options:)"
framework: coreimage
role: symbol
role_heading: Initializer
path: "coreimage/ciimage/init(cglayer:options:)-34jjk"
---

# init(CGLayer:options:)

## Declaration

```swift
init(CGLayer layer: CGLayer, options: [CIImageOption : Any]? = nil)
```
