The common interface for SceneKit objects that support multipass rendering using SCNTechnique
objects.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
@protocol SCNTechniqueSupport
Overview
Techniques let you specify approaches to rendering a scene that involves multiple drawing passes. For example, you might create a technique that uses a shader program to postprocess a rendered scene on the GPU, creating special effects such as color grading, screen-space ambient occlusion, or motion blur. Different SceneKit objects support techniques in different ways, summarized in Table 1.
Technique support in SceneKit
Class | Description |
---|---|
| Apply effects whenever the scene is rendered. |
Apply effects when the camera is the current point of view. | |
Apply effects when the light is enabled. |