csharp
public readonly record struct ShaderGraphSourceFileOne graph's Raven, or the reason there is none.
Fields and properties (6)
public string PathThe .vxshadergraph it came from.
public string NameThe shader declaration's name, which a .vxmat names to draw with it. Empty when the graph did not compile.
public string TextThe generated source, or empty.
public IReadOnlyList<string> DiagnosticsEverything the graph compiler had to say, formatted for a build log.
public bool CompiledWhether there is source to compile.
public ShaderGraphSource? SourceThe 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