Type Method


Applies all changes from the current automatic transaction.


+ (void)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

+ begin

Begins a new transaction for the current thread.

+ commit

Commits all changes made during the current transaction.