ShaderPass.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Collections.Generic;
  2. namespace UnityEditor.ShaderGraph.Internal
  3. {
  4. public struct ShaderPass
  5. {
  6. // Definition
  7. public string displayName;
  8. public string referenceName;
  9. public string lightMode;
  10. public string passInclude;
  11. public string varyingsInclude;
  12. public bool useInPreview;
  13. // Setup
  14. public IEnumerable<string> pragmas;
  15. public IEnumerable<string> includes;
  16. public IEnumerable<KeywordDescriptor> keywords;
  17. // Port mask
  18. public List<int> vertexPorts;
  19. public List<int> pixelPorts;
  20. // Required fields
  21. public List<string> requiredAttributes;
  22. public List<string> requiredVaryings;
  23. // Render State Overrides
  24. public string CullOverride;
  25. public string BlendOverride;
  26. public string ZTestOverride;
  27. public string ZWriteOverride;
  28. public string ColorMaskOverride;
  29. public string ZClipOverride;
  30. public List<string> StencilOverride;
  31. }
  32. }