Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following procedures are automatically called at specific points during rendering. Unless stated otherwise, they all receive this parameter:

ParameterDescription
string $render_passThe name of the render pass being rendered.

 

global proc DL_userPreRenderMel (string $render_pass)

...

ParameterDescription
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_shadowThis 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.

...

ParametersDescription
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.

...