RenderManAPI
24.0
|
Define scoped edit block. More...
#include <RixSceneGraph.h>
Public Member Functions | |
ScopedEdit (Scene *scene) | |
~ScopedEdit () | |
Public Attributes | |
Scene *const | sg |
Define scoped edit block.
An edit block defines a time during which the scene graph may be safely modified without renderer synchronization. Edit blocks may be nested. This utility provides a safer way to define an edit block than with Scene::EditBegin and Scene::EditEnd as it will not result in a deadlock.
|
inline |
References Scene::EditBegin(), and sg.
|
inline |
Scene* const Scene::ScopedEdit::sg |
Referenced by ScopedEdit().