20 #include "maya/MSceneMessage.h"
21 #include "AL/usd/utils/ForwardDeclares.h"
22 #include "AL/event/EventHandler.h"
50 {
return m_postSave; }
58 {
return m_postRead; }
65 static AL::event::CallbackId m_preSave;
66 static AL::event::CallbackId m_postSave;
67 static AL::event::CallbackId m_preRead;
68 static AL::event::CallbackId m_postRead;
69 static AL::event::CallbackId m_fileNew;
70 static AL::event::CallbackId m_preExport;
71 static AL::event::CallbackId m_postExport;
This class wraps all of the global state/mechanisms needed to integrate USD and Maya. This mainly handles things such as onFileNew, preFileSave, etc.
Definition: Global.h:32
static AL_USDMAYA_PUBLIC void onPluginLoad()
initialise the global state
static AL::event::CallbackId preSave()
pre save callback
Definition: Global.h:45
static AL::event::CallbackId fileNew()
callback used to flush the USD caches after a file new
Definition: Global.h:61
static AL::event::CallbackId preRead()
pre open callback
Definition: Global.h:53
static AL::event::CallbackId postRead()
post open callback
Definition: Global.h:57
static AL::event::CallbackId postSave()
post save callback
Definition: Global.h:49
static AL_USDMAYA_PUBLIC void onPluginUnload()
uninitialise the global state