Vixen
02b45cc4
csharp
public readonly record struct ShaderGraphProperty

Something the generated shader asks a material to supply.

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

Remarks

The list of these is what a material has to set for a graph to draw anything, so it is on the compilation rather than recovered by reading the emitted text back — which is what a panel that wanted to show it would otherwise have to do.

Fields and properties (2)

  • public string Name

    What it is declared as.

  • public string Type

    Its Raven type — float4, Texture2D, and so on.

Methods (1)

  • public ShaderGraphProperty(string Name, string Type)

    Something the generated shader asks a material to supply.

Used by (4)

  • ShaderGraphCompilerVixen.Editor.ShaderGraph
  • ShaderGraphSourceVixen.Editor.ShaderGraph
  • ShaderGraphTestsVixen.Editor.AssetEditors.Tests
  • ShaderGraphViewVixen.Editor.AssetEditors