ISubShader.cs 372 B

123456789101112
  1. using System.Collections.Generic;
  2. using UnityEngine.Rendering;
  3. namespace UnityEditor.ShaderGraph
  4. {
  5. interface ISubShader
  6. {
  7. string GetSubshader(IMasterNode masterNode, GenerationMode mode, List<string> sourceAssetDependencyPaths = null);
  8. bool IsPipelineCompatible(RenderPipelineAsset renderPipelineAsset);
  9. int GetPreviewPassIndex();
  10. }
  11. }