Enum ClearFlag | Core RP Library | 7.3.1
docs.unity.cn
    Show / Hide Table of Contents

    Enum ClearFlag

    Render Textures clear flag.

    Namespace: UnityEngine.Rendering
    Syntax
    [Flags]
    public enum ClearFlag

    Fields

    Name Description
    All

    Clear both color and depth buffers.

    Color

    Clear the color buffer.

    Depth

    Clear the depth buffer.

    None

    Don't clear.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX