#include <lib_token.h>
Data structure to collect render information in handling Tokens in render output path.
Public Member Functions | |
RenderPathData (const BaseDocument *doc=nullptr, const RenderData *rData=nullptr, const BaseContainer *rBc=nullptr, const BaseTake *take=nullptr, Int32 frame=NOTOK, const String &layerName=String(), const String &layerTypeName=String(), Int32 layerType=NOTOK, Bool isLight=false, Int32 lightNumber=NOTOK, Bool isMaterial=false, const String &nodeName=String(), BaseList2D *node=nullptr) | |
Public Attributes | |
const BaseDocument * | _doc |
const RenderData * | _rData |
const BaseContainer * | _rBc |
const BaseTake * | _cTake |
Int32 | _frame |
String | _layerName |
String | _layerTypeName |
Int32 | _layerType |
Bool | _isLight |
Int32 | _lightNumber |
Bool | _isMaterial |
String | _nodeName |
Bool | _checkUnresolved |
BaseList2D * | _node |
RenderPathData | ( | const BaseDocument * | doc = nullptr , |
const RenderData * | rData = nullptr , |
||
const BaseContainer * | rBc = nullptr , |
||
const BaseTake * | take = nullptr , |
||
Int32 | frame = NOTOK , |
||
const String & | layerName = String() , |
||
const String & | layerTypeName = String() , |
||
Int32 | layerType = NOTOK , |
||
Bool | isLight = false , |
||
Int32 | lightNumber = NOTOK , |
||
Bool | isMaterial = false , |
||
const String & | nodeName = String() , |
||
BaseList2D * | node = nullptr |
||
) |
Constructor.
[in] | doc | The BaseDocument used for rendering, can be a clone of original document. |
[in] | rData | The RenderData used for rendering. |
[in] | rBc | The BaseContainer with the render settings (can be different from _rData->GetDataInstance() eg. RQ change paths). |
[in] | take | The BaseTake used for rendering. |
[in] | frame | The frame number used for rendering or NOTOK if the frame is not yet recognized. |
[in] | layerName | The pass user name if multipass is activated. |
[in] | layerTypeName | The pass type name if multipass is activated. |
[in] | layerType | The pass ID used for rendering or NOTOK if multipass is not active or not yet recognized. |
[in] | isLight | true if the pass is a separated light pass. |
[in] | lightNumber | The light number id. |
[in] | isMaterial | true if the pass is a separated reflectance material pass. |
[in] | nodeName | if _isLight is true or _isMaterial is true store here the object scene name. |
[in] | node | An owner node for certain tokens such as MoGraph cache tokens. |
const BaseDocument* _doc |
The BaseDocument used for rendering, can be a clone of original document.
const RenderData* _rData |
The RenderData used for rendering.
const BaseContainer* _rBc |
The BaseContainer with the render settings (can be different from _rData->GetDataInstance()
eg. RQ change paths).
String _layerName |
The pass user name if multipass is activated.
String _layerTypeName |
The pass type name if multipass is activated.
Int32 _layerType |
The pass ID used for rendering or NOTOK if multipass is not active or not yet recognized.
Bool _isLight |
true if the pass is a separated light pass.
Int32 _lightNumber |
The light number id.
Bool _isMaterial |
true if the pass is a separated reflectance material pass.
String _nodeName |
if _isLight is true or _isMaterial is true store here the object scene name.
Bool _checkUnresolved |
if true warning strings will be used for the Tokens that cannot be resolved.
An owner node for certain tokens such as MoGraph cache tokens.