# GetSupportedMode(Type)

> Use SupportedOnRenderPipelineAttribute.GetSupportedMode to find out whether a RenderPipelineAsset supports the attribute.

## Definition

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

```csharp
public SupportedOnRenderPipelineAttribute.SupportedMode GetSupportedMode(Type renderPipelineAssetType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The `RenderPipelineAsset` you want to check.

### Returns

| Type                                                                                                                       | Description                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [SupportedMode](/engine/6000.7/script-reference/unityengine/rendering/supportedonrenderpipelineattribute/supportedmode.md) | Whether the `RenderPipelineAsset` or its base `RenderPipelineAsset` supports the attribute. |
