docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CameraSettings.BufferClearing

    Defines how color and depth buffers are cleared.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public struct CameraSettings.BufferClearing

    Fields

    backgroundColorHDR

    The color to use when clearColorMode == Color.

    Declaration
    [ColorUsage(true, true)]
    public Color backgroundColorHDR
    Field Value
    Type Description
    Color

    clearColorMode

    Define the source for the clear color.

    Declaration
    public HDAdditionalCameraData.ClearColorMode clearColorMode
    Field Value
    Type Description
    HDAdditionalCameraData.ClearColorMode

    clearDepth

    True to clear the depth.

    Declaration
    public bool clearDepth
    Field Value
    Type Description
    bool

    default

    Default value.

    Declaration
    [Obsolete("Since 2019.3, use BufferClearing.NewDefault() instead.")]
    public static readonly CameraSettings.BufferClearing @default
    Field Value
    Type Description
    CameraSettings.BufferClearing

    Methods

    NewDefault()

    Default value.

    Declaration
    public static CameraSettings.BufferClearing NewDefault()
    Returns
    Type Description
    CameraSettings.BufferClearing

    The default value.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)