#include <MColorManagementUtilities.h>
Utility class that retrieves the opaque data containing the color transform information needed to render the scene.
This class manages internally a buffer that contains data about color transformation used in the scene. The buffer managed herein whose pointer is returned by the 'getData' method is only valid during the lifetime of this object's instance.
Public Member Functions | |
MColorTransformData () | |
MColorTransformData constructor. More... | |
~MColorTransformData () | |
MColorTransformData destructor. More... | |
const unsigned | getSize () const |
Obtain the size of the opaque data block containing the color transform information needed to render the scene. More... | |
const void * | getData () const |
Obtain a reference to the opaque data block containing the color transform information needed to render the scene. More... | |
MColorTransformData constructor.
This constructor creates the opaque data block containing the color transform information needed to render the scene.
~MColorTransformData | ( | ) |
MColorTransformData destructor.
This destructor frees the memory that contains color transform data block. Once called, the pointer address that was obtained by the getData method is no longer valid.
const unsigned getSize | ( | ) | const |
Obtain the size of the opaque data block containing the color transform information needed to render the scene.
const void * getData | ( | ) | const |
Obtain a reference to the opaque data block containing the color transform information needed to render the scene.
This block of data is meant to be writen by a file translator plug-in to a renderer file. With the help of the SynColor SDK and this block of data, the extenal renderer can reproduce the same color transformations as in Maya.