AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
StageCache.h
1 
17 #include "pxr/usd/usd/stageCache.h"
18 
19 #include "maya/MSceneMessage.h"
20 
21 namespace AL {
22 namespace usdmaya {
23 
27 {
28 public:
29 
35  static UsdStageCache& Get(bool forcePopulate = true);
36 
38  static void Clear();
39 
41  static void removeCallbacks();
42 private:
43  static MCallbackId beforeNewCallbackId;
44  static MCallbackId beforeLoadCallbackId;
45 };
46 
47 } // usdmaya
48 } // AL
static void Clear()
Clear the cache.
static void removeCallbacks()
deletes the callbacks constructed to manage the stage cache
Maintains a cache of all active stages within maya.
Definition: StageCache.h:26
static UsdStageCache & Get(bool forcePopulate=true)
Return the singleton stage cache for use by all USD clients within Maya. 2 stage caches are maintaine...