Class which defines a user defined rendering operation.
#include <MViewport2Renderer.h>
Public Member Functions |
|
MUserRenderOperation (const MString &name) | |
Constructor for named user render operation.
|
|
virtual | ~MUserRenderOperation () |
Default destructor for a user render
operation. |
|
virtual const MCameraOverride * | cameraOverride () |
Query for a camera override. |
|
virtual MStatus | execute (const MDrawContext &drawContext)=0 |
Each user operation is responsible for
"executing" itself. |
MUserRenderOperation | ( | const MString & | name | ) |
Constructor for named user render operation.
[in] | name | Name of render operation |
const MCameraOverride * cameraOverride | ( | ) | [virtual] |
Query for a camera override.
The default implementation returns that there is no override.
MStatus execute | ( | const MDrawContext & | drawContext | ) | [pure virtual] |
Each user operation is responsible for "executing" itself.
[in] | drawContext | Hardware draw context information |
Refer the the documentation for MRenderOverride::startOperationIterator() which describes when this method will be invoked.