3ds Max C++ API Reference
|
IInteractiveRenderingManager class is the entry point of the Interactive Rendering API, you can create or remove a Interactive Rendering Client Interactive rendering API is a middle API that makes the link between the low level NotificationAPI and the customer. More...
#include <InteractiveRenderingAPI_Subscription.h>
Public Member Functions | |
virtual | ~IInteractiveRenderingManager () |
Destructor. More... | |
virtual IImmediateInteractiveRenderingClient * | RegisterNewImmediateClient (IImmediateNotificationClient *notificationClient, int version=-1)=0 |
Use this function to create an immediate client and get notified as soon as a change happens We use the Immediate Notification client you pass as a parameter. More... | |
virtual IOnDemandInteractiveRenderingClient * | RegisterNewOnDemandClient (int version=-1)=0 |
Use this function to create an on demand client and ask for the changes when you need to update We are using an ImmediateNotification client to get notifications from NotificationAPI and we sort and store the events until you ask for them. More... | |
virtual bool | RemoveClient (IInteractiveRenderingClient *client)=0 |
RemoveClient function, to stop monitoring. More... | |
virtual size_t | NumClients () const =0 |
NumClients function. More... | |
virtual const IInteractiveRenderingClient * | GetClient (size_t index) const =0 |
GetClient function. More... | |
virtual void | DebugPrintToFile (FILE *file) const =0 |
DebugPrintToFile function. More... | |
Static Public Member Functions | |
static NotificationAPIExport IInteractiveRenderingManager * | GetManager () |
GetManager static function. More... | |
IInteractiveRenderingManager class is the entry point of the Interactive Rendering API, you can create or remove a Interactive Rendering Client Interactive rendering API is a middle API that makes the link between the low level NotificationAPI and the customer.
It takes care of the lock/unlock workflow for active shade viewports It is dedicated for interactive rendering.If the user switches to another viewport, the new viewport is automatically monitored, you don't have to deal with all this.
|
inlinevirtual |
Destructor.
|
static |
GetManager static function.
|
pure virtual |
Use this function to create an immediate client and get notified as soon as a change happens We use the Immediate Notification client you pass as a parameter.
notificationClient | : a Notification client used to get notifications |
version | : may pass the version of Interactive Rendering client you want to use, -1 = latest. |
|
pure virtual |
Use this function to create an on demand client and ask for the changes when you need to update We are using an ImmediateNotification client to get notifications from NotificationAPI and we sort and store the events until you ask for them.
version | : may pass the version of Interactive Rendering client you want to use, -1 = latest. |
|
pure virtual |
RemoveClient function, to stop monitoring.
Cleaning is done by the manager which means your client gets deleted by the manager.
client | : the Interactive Rendering client you want to unregister. |
|
pure virtual |
NumClients function.
|
pure virtual |
GetClient function.
index | : the index of the Interactive Rendering clients to retrieve |
|
pure virtual |
DebugPrintToFile function.
file | : a valid FILE pointer to print debug information to < |