The following procedures are automatically called at specific points during rendering. Unless stated otherwise, they all receive this parameter:
Parameter | Description |
---|---|
string $render_pass | The name of the render pass being rendered. |
global proc DL_userPreRenderMel (string $render_pass)
...
This procedure is called right before the Pre Geo Mel script attribute of related geometry attribute nodes is called. The parameters passed to this procedure are:
...
Parameter | Description |
---|---|
string $render_pass | The name of the render pass node namebeing rendered. |
string $geometry_name | The name of the geometric object about to be output. |
string $visible_lights[] | The list of renderable, visible light shapes. |
int $is_shadow | This parameter is set to `1'1' when this procedure is called during a shadow map rendering. It is set to `0'0' when called during a regular frame rendering. It can also be set to `'-1' when it is called outside of a Frame Begin / End block. Currently this can only happen when outputting geometry instances connected to a particle instancer. |
string $geo_attrib_nodes[] | The list of geometry attribute nodes that are either connected or inherited by the current object. |
...
Parameters | Description |
---|---|
string $render_pass | The name of the render pass node namebeing rendered. |
string $light_name | The light source shape name |
string $light_attribs_nodes[] | The list of light attributes nodes attached to the light source shape. |
...