docs.unity.cn
    Show / Hide Table of Contents

    Struct ImportResourceParams

    A helper struct describing the clear behavior of imported textures.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public struct ImportResourceParams

    Fields

    clearColor

    The color to clear with on first use. Ignored if clearOnFirstUse==false;

    Declaration
    public Color clearColor
    Field Value
    Type Description
    Color

    clearOnFirstUse

    Clear the imported texture the first time it is used by the graph.

    Declaration
    public bool clearOnFirstUse
    Field Value
    Type Description
    Boolean

    discardOnLastUse

    Discard the imported texture the last time it is used by the graph.

    Declaration
    public bool discardOnLastUse
    Field Value
    Type Description
    Boolean

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023