Vixen
dd8b0a81
csharp
public readonly record struct ShaderGraphSourceFile

One graph's Raven, or the reason there is none.

Read the guide page for this →

Fields and properties (6)

  • public string Path

    The .vxshadergraph it came from.

  • public string Name

    The shader declaration's name, which a .vxmat names to draw with it. Empty when the graph did not compile.

  • public string Text

    The generated source, or empty.

  • public IReadOnlyList<string> Diagnostics

    Everything the graph compiler had to say, formatted for a build log.

  • public bool Compiled

    Whether there is source to compile.

  • public ShaderGraphSource? Source

    The compilation itself, or null where there is none.

Methods (1)

  • public ShaderGraphSourceFile(string Path, string Name, string Text, IReadOnlyList<string> Diagnostics)

    One graph's Raven, or the reason there is none.

Used by (6)

  • EditorEffectsVixen.Editor.App
  • MaterialDocumentVixen.Editor.AssetEditors
  • ShaderBuildRunnerVixen.Cli
  • ShaderGraphImporterVixen.Editor.Assets
  • ShaderGraphSourceTestsVixen.Editor.Assets.Tests
  • ShaderGraphSourcesVixen.Editor.Assets