# GetAllRenderPipelineAssetsForPlatform(string, ref List<RenderPipelineAsset>)

> [Editor Only] Fills the given list with all the Render Pipeline Assets on any Quality Level for the given platform. Without filtering by Render Pipeline Asset type or null.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## GetAllRenderPipelineAssetsForPlatform(string, List\<RenderPipelineAsset>)

```csharp
public static void GetAllRenderPipelineAssetsForPlatform(string buildTargetGroupName, ref List<RenderPipelineAsset> renderPipelineAssets)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The platform to obtain the Render Pipeline Assets.**** (\[List\<RenderPipelineAsset>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The list that will be filled with the unfiltered Render Pipeline Assets. There might be null Render Pipeline Assets.

### Remarks

```csharp
public RenderPipelineAsset[] GetAllRenderPipelineAssets(BuildTarget platform)
{
    var activeBuildTargetGroup = BuildPipeline.GetBuildTargetGroup(platform);
    var namedBuildTarget = NamedBuildTarget.FromBuildTargetGroup(activeBuildTargetGroup);
    List<RenderPipelineAsset> assets = new List<RenderPipelineAsset>();
    QualitySettings.GetAllRenderPipelineAssetsForPlatform(namedBuildTarget.TargetName, ref assets);
    return assets.ToArray();
}
```

Gets all the Render Pipeline Assets. That are included in all the Quality levels for the given platform.
