3ds Max C++ API Reference
IRenderingProcess::IMainThreadJob Class Referenceabstract

Interface to a job which gets executed from the main thread. More...

#include <IRenderingProcess.h>

Public Member Functions

virtual void ExecuteMainThreadJob ()=0
 Runs the job, guaranteed to be called from the main thread. More...
 

Protected Member Functions

virtual ~IMainThreadJob ()
 Protected destructor prevents deletion through this interface. More...
 

Detailed Description

Interface to a job which gets executed from the main thread.

Main thread jobs are run using IRenderingProcess::RunJobFromMainThread().

Constructor & Destructor Documentation

◆ ~IMainThreadJob()

virtual ~IMainThreadJob ( )
inlineprotectedvirtual

Protected destructor prevents deletion through this interface.

212 {}

Member Function Documentation

◆ ExecuteMainThreadJob()

virtual void ExecuteMainThreadJob ( )
pure virtual

Runs the job, guaranteed to be called from the main thread.