Enumeration

SCNRenderingAPI

Options for choosing the graphics technology for an SCNView object (or other SceneKit renderer) to use for drawing its contents. Used by the renderingAPI property and the preferredRenderingAPI option when initializing an SCNView object.

Declaration

enum SCNRenderingAPI : UInt

Topics

Constants

case metal

Use the Metal framework for SceneKit rendering.

case openGLES2

Use the OpenGL ES 2.0 API for SceneKit rendering in iOS.

case openGLLegacy

Use the Legacy OpenGL API for SceneKit rendering in macOS.

case openGLCore32

Use the OpenGL 3.2 Core Profile API for SceneKit rendering in macOS.

case openGLCore41

Use the OpenGL 4.1 Core Profile API for SceneKit rendering in macOS.

See Also

Managing Scene Display

var pointOfView: SCNNode?

The node from which the scene’s contents are viewed for rendering.

Required.

var autoenablesDefaultLighting: Bool

A Boolean value that determines whether SceneKit automatically adds lights to a scene.

Required.

var isJitteringEnabled: Bool

A Boolean value that determines whether SceneKit applies jittering to reduce aliasing artifacts.

Required.

var showsStatistics: Bool

A Boolean value that determines whether SceneKit displays rendering performance statistics in an accessory view.

Required.

var debugOptions: SCNDebugOptions

Options for drawing overlay content in a scene that can aid debugging.

Required.

var renderingAPI: SCNRenderingAPI

The graphics technology SceneKit uses to render the scene.

Required.

struct SCNDebugOptions

Options for drawing overlays with SceneKit content that can aid in debugging, used with the debugOptions property.