Contents

SCNSceneRenderer

Methods and properties common to the Scnview, Scnlayer, and Scnrenderer classes.

Declaration

protocol SCNSceneRenderer : NSObjectProtocol

Overview

You use an instance of one of these classes to display a scene and manage SceneKit’s rendering and animation of the scene’s contents.

Typically, you use the SCNView class to display a scene in a window (or full screen). You can create and configure a SceneKit view programmatically or in Interface Builder. The other renderer classes render SceneKit content in more specialized situations. If your app has a user interface composed of Core Animation layers, you can use the SCNLayer class to render a scene into a layer. If your app uses Metal or OpenGL for other rendering, you can use the SCNRenderer class to render SceneKit content with the same Metal device or OpenGL context.

Use the scene property of the view, layer, or renderer to specify the scene to display.

Topics

Presenting a Scene

Managing Scene Display

Managing Scene Animation Timing

Preloading Renderer Resources

Working With Projected Scene Contents

Participating in the Scene Rendering Process

Customizing Scene Rendering with Metal

Customizing Scene Rendering with OpenGL

Rendering Sprite Kit Content over a Scene

Working With Positional Audio

Instance Properties

See Also

Display and Interactivity