docs.unity.cn
    Show / Hide Table of Contents

    Struct CustomPassUtils.DisableSinglePassRendering

    Disable the single-pass rendering (use in XR)

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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()
    Implements
    IDisposable.Dispose()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023