The graphics technology SceneKit uses to render the scene.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
You choose a graphics technology when initializing a scene renderer:
When initializing a
SCNViewobject, use the
initinitializer and the
With Frame: options:
SCNPreferredkey. Alternatively, create a view in Interface Builder and use the Rendering API control in the inspector. During initialization, the view will attempt to use the preferred API, but will fall back to a different API if the preferred one is not supported on the current hardware.
To create a
SCNRendererobject that renders into your own OpenGL contect, use the
rendererinitializer. To create a renderer for use in your own Metal workflow, use the
With Context: options:
With Device: options:
The rendering technology used by a
SCNLayerobject is determined by Core Animation.
After initializing a renderer, this property reflects the rendering technology in use.