Constructor CustomRendererSampler
CustomRendererSampler(GameObject, IPhotosensorArrayDescription, LensSystemDesc, SceneSamplerDesc, Action<ScriptableRenderContext, HDCamera>)
Constructs a sampler that bypasses HDRP and defines its own rendering process.
Declaration
public CustomRendererSampler(GameObject parent, IPhotosensorArrayDescription sensorDesc, LensSystemDesc lensSystem, SceneSamplerDesc samplerDesc, Action<ScriptableRenderContext, HDCamera> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | parent | The gameobject corresponding to the component using this. Used to instantiate a unity camera to execute the sampling. |
| IPhotosensorArrayDescription | sensorDesc | Information defined on the photosensor array node. |
| LensSystemDesc | lensSystem | Information defined on the lens component. |
| SceneSamplerDesc | samplerDesc | Extra parameters for the sampler. |
| Action<ScriptableRenderContext, HDCamera> | callback | Function to invoke when the sampling is completed. |