Method TryGetRenderPipelineAssets
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 |