docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildTargetExtensions

    Extensions for 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 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
    bool

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

    Type Parameters
    Name Description
    T

    The type of RenderPipelineAsset

    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)