docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildTargetExtensions

    Extensions for UnityEditor.BuildTarget

    Inheritance
    object
    BuildTargetExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public static class BuildTargetExtensions

    Methods

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

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

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

    The UnityEditor.BuildTarget to obtain the assets.

    List<T> srpAssets

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

    Returns
    Type Description
    bool

    false if there was an error fetching the UnityEngine.Rendering.RenderPipelineAsset for this UnityEditor.BuildTarget

    Type Parameters
    Name Description
    T

    The type of UnityEngine.Rendering.RenderPipelineAsset

    In This Article
    Back to top
    Copyright © 2025 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)