Class HDShaderGUI
Use this class to build your custom Shader GUI for HDRP. You can use a class that inherits from HDShaderGUI in the Shader Graph Custom EditorGUI field.
Inherited Members
Namespace: UnityEditor .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public abstract class HDShaderGUI : ShaderGUI
Methods
Name | Description |
---|---|
On |
Unity calls this function when it displays the GUI. This method is sealed so you cannot override it. To implement your custom GUI, use OnMaterialGUI instead. |
On |
Implement your custom GUI in this function. To display a UI similar to HDRP shaders, use a MaterialUIBlockList. |
On |
Override the material interactive preview GUI. |
On |
Override the material preview GUI. |
Setup |
Sets up the keywords and passes for the material you pass in as a parameter. |