docs.unity.cn
    Show / Hide Table of Contents

    Class BuildTargetExtensions

    Extensions for BuildTarget

    Inheritance
    Object
    BuildTargetExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public static class BuildTargetExtensions

    Methods

    TryGetRenderPipelineAssets<T>(BuildTarget, List<T>)

    Obtains a list of the RenderPipelineAsset that are references into the settings either on QualitySettings or in GraphicsSettings

    Declaration
    [MustUseReturnValue]
    public static bool TryGetRenderPipelineAssets<T>(this BuildTarget buildTarget, List<T> srpAssets)
        where T : RenderPipelineAsset
    Parameters
    Type Name Description
    BuildTarget buildTarget

    The BuildTarget to obtain the assets.

    List<T> srpAssets

    The output list of RenderPipelineAsset that are referenced by the platform.

    Returns
    Type Description
    Boolean

    false if there was an error fetching the RenderPipelineAsset for this BuildTarget

    Type Parameters
    Name Description
    T

    The type of RenderPipelineAsset

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