C++ API Reference: MPxImagePlaneOverride Class Reference
Base class for user defined image plane draw overrides.
More...
#include <MPxImagePlaneOverride.h>
Base class for user defined image plane draw overrides.
DrawAPI supportedDrawAPIs
(
)
const
Returns the draw API supported by this override.
The returned value may be formed as the bitwise 'or' of MHWRender::DrawAPI elements to indicate that the override supports multiple draw APIs. This method returns 'MHWRender::kAllDevices ' by default.
Returns The draw API supported by this override
const char * className
(
)
static
Returns the name of this class.
Returns Name of this class.
MString getFileName
(
bool
useImageSequence )
This method can get the exact file name of image sequence or just return the original name if input is not sequence.
Parameters
[in] useImageSequence If user use image sequence or not.
Returns return the exact file name of the input texture.
This method is called every time Maya needs to update the parameter which will later be used in method updateTexture().
The default implementation does nothing.
void updateColorTexture
(
)
virtual
This method is used for update texture which will be used to draw image plane.
User can set custom raw data to the texture. This method only deal with color texture. The default implementation does nothing.
The documentation for this class was generated from the following files:
MPxImagePlaneOverride.h
MPxImagePlaneOverride.cpp