docs.unity.cn
    Show / Hide Table of Contents

    Enum ShadowUpdateMode

    Shadow Update mode

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum ShadowUpdateMode

    Fields

    Name Description Value
    EveryFrame

    Shadow map will be rendered at every frame.

    0
    OnEnable

    Shadow will be rendered only when the OnEnable of the light is called.

    1
    OnDemand

    Shadow will be rendered when you call HDAdditionalLightData.RequestShadowMapRendering().

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021