The graphics technology SceneKit uses to render the scene.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- watchOS 2.0+
You choose a graphics technology when initializing a scene renderer:
When initializing a
SCNViewobject, use the
init(frame:initializer and the
preferredkey. 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
init(context:initializer. To create a renderer for use in your own Metal workflow, use the
The rendering technology used by a
SCNLayerobject is determined by Core Animation.
After initializing a renderer, this property reflects the rendering technology in use.