docs.unity.cn
    Show / Hide Table of Contents

    Enum DrawRenderersCustomPass.OverrideMaterialMode

    Select which type of override to apply on the DrawRenderers pass.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public enum OverrideMaterialMode

    Fields

    Name Description Value
    None

    Disable the material override


    0
    Material

    Override the material for all renderers


    1
    Shader

    Override the shader for all renderers. This option keeps the material properties of the renderer and can be used like a replacement shader.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023