Struct CustomPassUtils.OverrideCameraRendering
Overrides the current camera, changing all the matrices and view parameters for the new one. It allows you to render objects from another camera, which can be useful in custom passes for example.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct CustomPassUtils.OverrideCameraRendering : IDisposable
Constructors
Name | Description |
---|---|
OverrideCameraRendering(CustomPassContext, Camera) | Overrides the current camera, changing all the matrices and view parameters for the new one. |
OverrideCameraRendering(CustomPassContext, Camera, float) | Overrides the current camera, changing all the matrices and view parameters for the new one. |