docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FullscreenShaderGUI

    The base class to implement the fullscreen Material GUI in a render pipeline.

    Inheritance
    object
    ShaderGUI
    FullscreenShaderGUI
    Inherited Members
    ShaderGUI.OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
    ShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
    ShaderGUI.OnMaterialPreviewSettingsGUI(MaterialEditor)
    ShaderGUI.OnClosed(Material)
    ShaderGUI.FindProperty(string, MaterialProperty[])
    ShaderGUI.FindProperty(string, MaterialProperty[], bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)