3ds Max USD API Reference
Loading...
Searching...
No Matches
MAXUSD_NS_DEF::StageCacheScopeGuard Class Reference

RAII Scope guard for adding and remove a stage from the global stage cache. More...

#include <TranslationUtils.h>

Public Member Functions

 StageCacheScopeGuard (const pxr::UsdStageRefPtr &stage)
 Constructor, adds a stage to the global stage cache. More...
 
 ~StageCacheScopeGuard ()
 Destructor, removes the stage from the global stage cache.
 

Detailed Description

RAII Scope guard for adding and remove a stage from the global stage cache.

Constructor & Destructor Documentation

◆ StageCacheScopeGuard()

MAXUSD_NS_DEF::StageCacheScopeGuard::StageCacheScopeGuard ( const pxr::UsdStageRefPtr &  stage)
inline

Constructor, adds a stage to the global stage cache.

Parameters
stageThe stage.

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