Vixen
02b45cc4
csharp
public record class ShaderGraphSource

What a shader graph compiles to.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The uniforms the graph asked for, not the ones every graph has. worldViewProjection and world are declared in every shader and authored in none, so a list an author reads as "what this graph needs from outside" is wrong to include them.

⚠ It does not say which of them a material supplies. A texture node's property is the material's; the clock a Time node reads and the light a PBR master shades with are the engine's, and nothing here can tell them apart because the emitter asks for both the same way. Sorting them is the material compiler's job and doc 08 owns it; until then this is the honest list — every name the shader declares.

Fields and properties (3)

  • public string Name

    The shader declaration's name.

  • public string Source

    The Raven.

  • public ImmutableArray<ShaderGraphProperty> Properties

Methods (1)

Used by (5)

  • ShaderGraphCompilerVixen.Editor.ShaderGraph
  • ShaderGraphCompilerTestsVixen.Editor.ShaderGraph.Tests
  • ShaderGraphDocumentVixen.Editor.AssetEditors
  • ShaderGraphTestsVixen.Editor.AssetEditors.Tests
  • ShaderGraphViewVixen.Editor.AssetEditors