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 SCNPreferredRenderingAPIKey option when initializing an SCNView object.

Declaration

typedef enum SCNRenderingAPI : NSUInteger {
    ...
} SCNRenderingAPI;

Topics

Constants

SCNRenderingAPIMetal

Use the Metal framework for SceneKit rendering.

SCNRenderingAPIOpenGLES2

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

SCNRenderingAPIOpenGLLegacy

Use the Legacy OpenGL API for SceneKit rendering in macOS.

SCNRenderingAPIOpenGLCore32

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

SCNRenderingAPIOpenGLCore41

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

See Also

Managing Scene Display

pointOfView

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

Required.

autoenablesDefaultLighting

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

Required.

jitteringEnabled

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

Required.

showsStatistics

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

Required.

debugOptions

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

Required.

renderingAPI

The graphics technology SceneKit uses to render the scene.

Required.

SCNDebugOptions

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