Method to update the swatch image when the parallel rendering is finished. More...
Detailed Description
Hardware shader swatch generator utility class.
Derived from the MSwatchRenderBase class as a utility for generating a swatch for a plugin hardware shader class. This class supports hardware shaders derived from both MPxHardwareShader and the older MPxHwShaderNode base classes.
The node object for which the swatch needs to be generated.
[in]
renderObj
The node used to actually compute the swatch. In most situations, this can be the same as obj. This parameter can be used to request the computation of the swatch on another node, and display the swatch on the obj node.
Saves the Node object and image resolution as data members for future use.
Parameters
[in]
obj
The node object for which the swatch needs to be generated.
[in]
renderObj
The node used to actually compute the swatch. In most situations, this can be the same as obj. This parameter can be used to request the computation of the swatch on another node, and display the swatch on the obj node.