No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VFXShaderGraphGUI.cs 1006B

123456789101112131415161718192021222324252627282930313233
  1. #if HAS_VFX_GRAPH
  2. using UnityEditor.ShaderGraph;
  3. using UnityEngine;
  4. using UnityEngine.Rendering;
  5. namespace UnityEditor.Rendering.Universal
  6. {
  7. internal class VFXShaderGraphLitGUI : ShaderGraphLitGUI
  8. {
  9. protected override uint materialFilter => uint.MaxValue & ~(uint)Expandable.SurfaceInputs;
  10. }
  11. internal class VFXShaderGraphUnlitGUI : ShaderGraphUnlitGUI
  12. {
  13. protected override uint materialFilter => uint.MaxValue & ~(uint)Expandable.SurfaceInputs;
  14. }
  15. internal class VFXSixWayGUI : SixWayGUI
  16. {
  17. protected override uint materialFilter => uint.MaxValue & ~(uint)Expandable.SurfaceInputs;
  18. }
  19. internal class VFXGenericShaderGraphMaterialGUI : GenericShaderGraphMaterialGUI
  20. {
  21. public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
  22. {
  23. //When material used in VFX, all properties are converted to input slots.
  24. //This fallback is used with sprite output.
  25. }
  26. }
  27. }
  28. #endif