Type Method


Applies all changes from the current automatic transaction.


class func flush()


SceneKit automatically calls this method at the end of each pass through the run loop, regardless of the run loop mode. If your app does not have a run loop, you must call this method explicitly.

If the current transaction has any nested transactions that are still animating, SceneKit waits to commit the current transaction’s changes until those transactions complete.

See Also

Creating and Committing Transactions

class func begin()

Begins a new transaction for the current thread.

class func commit()

Commits all changes made during the current transaction.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software