<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNRenderer/init(device:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNRenderer(cm)rendererWithDevice:options:"
  },
  "title" : "init(device:options:)"
}
-->

# init(device:options:)

Creates a renderer with the specified Metal device.

```
convenience init(device: (any MTLDevice)?, options: [AnyHashable : Any]? = nil)
```

## Parameters

`device`

A Metal device.

`options`

An optional dictionary for future extensions.

## Return Value

A new renderer object.

## Discussion

Use this initializer to create a SceneKit renderer that draws into the rendering targets your app already uses to draw other content. For the `device` parameter, pass the <doc://com.apple.documentation/documentation/Metal/MTLDevice> object your app uses for drawing. Then, to tell SceneKit to render your content, call the [`SCNRenderer`](/documentation/SceneKit/SCNRenderer) method, providing a command buffer and render pass descriptor for SceneKit to use in its rendering.

---

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)