Versions Compared

Key

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

The following procedures, when defined, allow customization of Render Passes:

global proc DL_userRenderPassCreate (string $render_pass)

This procedure is called as the last step of the render pass node creation procedure. It could be used to configure a render pass node with different values than the default ones. It can also be used to add various custom attributes, in which case it might be useful to also define DL_userRenderPassAEtemplate().

global proc DL_userRenderPassUpdate (string $render_pass)

This procedure is called when a scene is opened or referenced. It can be used to update custom render pass attributes of older scenes. 

Warning

The following procedure is deprecated. Please use the DL_userRenderPassCreate and DL_userRenderPassUpdate procedures, explained above.

global proc DL_userRenderPassInit (string $render_pass)

This procedure is called as the last step of the render pass node creation procedure. It is also called as the last step of the DRP_Init() procedure. It could be used to configure a render pass node with different values than the default ones. It can also be used to add various custom attributes, in which case it might be useful to also define DL_userRenderPassAEtemplate(). Finally, it can be used to

...

update custom render pass attributes of older scenes. It should be desgined so that it can be called several times with the same render pass node during a session.

global proc DL_userRenderPassAEtemplate (string $render_pass)

...