Method CreateCustomPass
CreateCustomPass(CustomPassInjectionPoint, ExecuteCustomPassAction<CustomPassContext>)
Create hook on the camera to retrieve the output.
Declaration
protected void CreateCustomPass(CustomPassInjectionPoint injectionPoint, CustomPassCallback.ExecuteCustomPassAction<CustomPassContext> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomPassInjectionPoint | injectionPoint | Define the moment where we want the output |
| CustomPassCallback.ExecuteCustomPassAction<CustomPassContext> | callback | Function to call to provide the camera output. |