SCNTechniqueSupport
The common interface for SceneKit objects that support multipass rendering using Scntechnique objects.
Declaration
protocol SCNTechniqueSupport : NSObjectProtocolOverview
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.
Class | Description |
|---|---|
Scnview, Scnlayer (macOS), Scnrenderer | 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. |