Method CreateCustomPass
CreateCustomPass(GameObject, CustomPassDescriptor)
Look for existing custom passes on the parent gameobject. Build a custom pass on a GameObject and keep a reference to it in the descriptor.
Declaration
public static void CreateCustomPass(GameObject gameObject, CustomPassDescriptor desc)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject | Object that will contain the custom pass. |
| CustomPassDescriptor | desc | Description of the custom pass. |