# GetCustomEditorForRenderPipeline

> Gets the shader's custom editor class name for a specific render pipeline asset type.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## GetCustomEditorForRenderPipeline(Shader, string)

Gets the shader's custom editor class name for a specific render pipeline asset type.

```csharp
public static string GetCustomEditorForRenderPipeline(Shader shader, string renderPipelineType)
```

### Parameters

**** (\[Shader]\(/engine/6000.3/script-reference/unityengine/shader)): The shader to check against.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The render pipeline asset type.

### Returns

| Type                                                           | Description                                       |
| -------------------------------------------------------------- | ------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Returns the full class name of the custom editor. |

## GetCustomEditorForRenderPipeline(Shader, Type)

Gets the shader's custom editor class name for a specific render pipeline asset type.

```csharp
public static string GetCustomEditorForRenderPipeline(Shader shader, Type renderPipelineType)
```

### Parameters

**** (\[Shader]\(/engine/6000.3/script-reference/unityengine/shader)): The shader to check against.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The render pipeline asset type.

### Returns

| Type                                                           | Description                                       |
| -------------------------------------------------------------- | ------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Returns the full class name of the custom editor. |
