Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCustomEditorForRenderPipeline

Gets the shader's custom editor class name for a specific render pipeline asset type.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetCustomEditorForRenderPipeline(Shader, string)

Gets the shader's custom editor class name for a specific render pipeline asset type.
public static string GetCustomEditorForRenderPipeline(Shader shader, string renderPipelineType)

Parameters

shader

The shader to check against.

renderPipelineType

The render pipeline asset type.

Returns

Type

Description

stringReturns 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.
public static string GetCustomEditorForRenderPipeline(Shader shader, Type renderPipelineType)

Parameters

shader

The shader to check against.

renderPipelineType

The render pipeline asset type.

Returns

Type

Description

stringReturns the full class name of the custom editor.