Class FullscreenShaderGUI
The base class to implement the fullscreen Material GUI in a render pipeline.
Inherited Members
ShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
Namespace: UnityEditor.Rendering.Fullscreen.ShaderGraph
Assembly: Unity.ShaderGraph.Editor.dll
Syntax
public class FullscreenShaderGUI : ShaderGUI
Methods
Name | Description |
---|---|
AssignNewShaderToMaterial(Material, Shader, Shader) | Assign a new FullscreenShader to the target material. |
DrawSurfaceInputs(Material) | Draw the Surface Inputs section of the fullscreen shader GUI. |
DrawSurfaceOptions(Material) | Draw the Surface Options section of the fullscreen shader GUI. |
OnGUI(MaterialEditor, MaterialProperty[]) | Unity calls this function when it displays the GUI. To implement your custom GUI, override this function.. |
OnOpenGUI(Material, MaterialEditor, MaterialProperty[]) | Unity calls this function when it displays the GUI. To implement your custom GUI, override this function.. |
SetupSurface(Material) | Setup the fullscreen shader keywords from the material properties. |
ValidateMaterial(Material) | Ensures that the material is correctly setup. |