RenderManAPI  24.0
Scene::ScopedEdit Struct Reference

Define scoped edit block. More...

#include <RixSceneGraph.h>

Public Member Functions

 ScopedEdit (Scene *scene)
 
 ~ScopedEdit ()
 

Public Attributes

Scene *const sg
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ScopedEdit()

Scene::ScopedEdit::ScopedEdit ( Scene scene)
inline

References Scene::EditBegin(), and sg.

◆ ~ScopedEdit()

Scene::ScopedEdit::~ScopedEdit ( )
inline

Member Data Documentation

◆ sg

Scene* const Scene::ScopedEdit::sg

Referenced by ScopedEdit().


The documentation for this struct was generated from the following file: