3ds Max C++ API Reference
|
Is a client where you get the notifications on demand, they are stored until you ask for them. More...
#include <InteractiveRenderingAPI_Subscription.h>
Public Member Functions | |
virtual | ~IOnDemandInteractiveRenderingClient () |
Destructor. More... | |
virtual size_t | NumberOfQueuedEvents ()=0 |
Returns the number of events currently waiting to be processed. More... | |
virtual void | ProcessEvents (IInteractiveRenderingCallback ¬ificationCallback)=0 |
This function processes all events currently waiting in the queue. More... | |
virtual bool | MonitorActiveShadeView (void *userData)=0 |
Monitor the active view whatever it is : a camera, a viewport or a light. More... | |
virtual bool | StopMonitoringActiveView (void *userData)=0 |
Stop monitoring active view. More... | |
![]() | |
virtual | ~IInteractiveRenderingClient () |
Destructor. More... | |
virtual int | VersionNumber () const =0 |
returns the version number of the notification client More... | |
virtual void | DebugPrintToFile (FILE *theFile) const =0 |
Print what's monitored inside the client (debugging purpose) More... | |
Is a client where you get the notifications on demand, they are stored until you ask for them.
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns the number of events currently waiting to be processed.
|
pure virtual |
This function processes all events currently waiting in the queue.
The queue is emptied in the process.
notificationCallback | The callback through which the events are processed, one by one. |
|
pure virtual |
Monitor the active view whatever it is : a camera, a viewport or a light.
This takes care of the lock/unlock view workflow for active shade. Also when the active view is changed to another view, the event is stored until you ask for the updates and the new view is monitored automatically
userData | an arbitrary pointer which is passed back, with the event, through INotificationCallback. |
|
pure virtual |
Stop monitoring active view.
userData | the user data passed to the Monitor method. |