Version: 2022.3

ShaderUtil.GetCustomEditorForRenderPipeline

切换到手册
public static string GetCustomEditorForRenderPipeline (Shader shader, Type renderPipelineType);
public static string GetCustomEditorForRenderPipeline (Shader shader, string renderPipelineType);

参数

renderPipelineType The render pipeline asset type.
shader 要检查的着色器。

返回

string Returns the full class name of the custom editor.

描述

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