csharp
public readonly record struct ShaderGraphSpanWhich lines of a generated shader one node wrote.
Fields and properties (3)
public NodeId NodeThe node an author can select. For a node that came out of a sub-graph this is the sub-graph node in their own graph, not the synthetic copy — see NodeGraphInlining.
public NodeId EmittedAnd the identity the flattened graph gave it, which is the one in the variable names: NodeGraphCompiler.Variable spells an output n{id}_{port}. Kept because "show generated code" is about the text, where that is the name that appears.
public NodeSpan SpanWhich lines of Source, counted from zero.
Methods (1)
Used by (5)
- ShaderGraphCompilerVixen.Editor.ShaderGraph
- ShaderGraphDocumentVixen.Editor.AssetEditors
- ShaderGraphSourceVixen.Editor.ShaderGraph
- ShaderGraphSpanTestsVixen.Editor.ShaderGraph.Tests
- SurfaceGraphTestsVixen.Editor.ShaderGraph.Tests