35 #ifndef IE_COREMAYA_VIEWPORTPOSTPROCESSCALLBACK_H
36 #define IE_COREMAYA_VIEWPORTPOSTPROCESSCALLBACK_H
41 #include "maya/MString.h"
42 #include "maya/MMessage.h"
44 #include "IECore/RefCounted.h"
46 #include "IECoreMaya/ViewportPostProcess.h"
72 static MStatus registerCallback(
const MString &panelName, ViewportPostProcessPtr postProcess );
73 static MStatus deregisterCallback(
const MString &panelName );
80 static void viewPreRender(
const MString &panelName,
void *clientData );
81 static void viewPostRender(
const MString &panelName,
void *clientData );
83 typedef std::map< std::string, ViewportPostProcessCallback::Ptr> Instances;
84 static Instances g_instances;
85 static size_t g_numInstances;
87 MCallbackId m_viewPreRenderId;
88 MCallbackId m_viewPostRenderId;
91 ViewportPostProcessPtr m_postProcess;
98 #endif // IE_COREMAYA_VIEWPORTPOSTPROCESSCALLBACK_H
Definition: ViewportPostProcessCallback.h:66
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44
Definition: RefCounted.h:124