Struct CustomPassUtils.DisableSinglePassRendering
Disable the single-pass rendering (use in XR)
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public struct DisableSinglePassRendering : IDisposable
Constructors
DisableSinglePassRendering(in CustomPassContext)
Disable the single-pass rendering (use in XR)
Declaration
public DisableSinglePassRendering(in CustomPassContext ctx)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx | Custom Pass Context. |
Explicit Interface Implementations
IDisposable.Dispose()
Re-enable the single-pass rendering if it was enabled
Declaration
void IDisposable.Dispose()