A MultipassObject represents a multipass element of the render settings. Cinema 4D's render engines will render and save different multipasses based on these settings.
MultipassObject objects are an instance of Zmultipass.
Existing MultipassObject elements are stored in a list and can be accessed from a RenderData object:
The MultipassObject class does not offer a static "Alloc" or "Free" function so the functions of BaseList2D have to be used with Zmultipass.
A newly created MultipassObject is added to the render settings by adding it to the RenderData object:
MultipassObject objects are organized in a list:
All multipasses are MultipassObject objects. They only differ in their parameters. The type of a multipass is defined with:
Simple multipass types are:
Configurable multipass types are:
The parameter IDs of configurable multipasses are defined in zmultipass.h.
Additional multipass types are:
Example object buffer:
Example blend channel:
Example reflection channel:
Example specular channel: