ShaderUtil.GetCustomEditorForRenderPipeline

Declaration

public static string GetCustomEditorForRenderPipeline(Shader shader, Type renderPipelineType);

Declaration

public static string GetCustomEditorForRenderPipeline(Shader shader, string renderPipelineType);

Parameters

renderPipelineType The render pipeline asset type.
shader The shader to check against.

Returns

string Returns the full class name of the custom editor.

Description

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


Did you find this page useful? Please give it a rating: