Structure

SCNView.Option

Dictionary keys specifying initialization options, used when initializing a SceneKit view.

Declaration

struct Option

Topics

View Options

static let preferLowPowerDevice: SCNView.Option

An option for whether to select low-power-usage devices for Metal rendering.

static let preferredDevice: SCNView.Option

The device to use for Metal rendering.

static let preferredRenderingAPI: SCNView.Option

The rendering API to use for rendering the view (for example, Metal or OpenGL).

Relationships

See Also

Initializing a SceneKit View

init(frame: CGRect, options: [String : Any]?)

Initializes and returns a newly allocated SceneKit view object with the specified frame rectangle and options.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software