Instance Property


A Boolean value that indicates whether the view automatically culls non-visible nodes from the rendering tree.


@property(nonatomic) BOOL shouldCullNonVisibleNodes;


The default value is YES, meaning that when the scene is rendered, the scene first searches the tree for invisible or offscreen nodes and culls them from the list of nodes to be rendered. Then the remaining (visible) nodes are processed and rendered. This is normally the desired behavior, because Scene Kit avoids expensive processing on nodes that cannot affect the final output. However, if your game is already managing the contents of the scene’s node tree (for example, by removing nodes from the tree when they are offscreen), you can set this to NO to disable automatic scene culling. Disabling scene culling removes the performance overhead of this check, but each invisible or offscreen node present in the node tree reduces the performance of the renderer.

See Also

Configuring Performance Related Toggles


A Boolean value that indicates whether parent-child and sibling relationships affect the rendering order of nodes in the scene.


A Boolean property that indicates whether the view is rendered using transparency.


A Boolean value that indicates whether the content is rendered asynchronously.