RenderMan API  23.0
RixSGScene::ScopedEdit Struct Reference

#include <RixSceneGraph.h>

Public Member Functions

 ScopedEdit (RixSGScene *scene)
 
 ~ScopedEdit ()
 

Public Attributes

RixSGScene *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 RixSGScene::EditBegin and RixSGScene::EditEnd as it will not result in a deadlock.

Definition at line 1332 of file RixSceneGraph.h.

Constructor & Destructor Documentation

◆ ScopedEdit()

RixSGScene::ScopedEdit::ScopedEdit ( RixSGScene scene)
inline

Definition at line 1504 of file RixSceneGraph.h.

◆ ~ScopedEdit()

RixSGScene::ScopedEdit::~ScopedEdit ( )
inline

Definition at line 1509 of file RixSceneGraph.h.

Member Data Documentation

◆ sg

RixSGScene* const RixSGScene::ScopedEdit::sg

Definition at line 1336 of file RixSceneGraph.h.


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