Vixen
dd8b0a81
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 (9)

  • GraphMaterialTestsVixen.Editor.ShaderGraph.Tests
  • MaterialDocumentVixen.Editor.AssetEditors
  • MaterialGraphPropertyTestsVixen.Editor.AssetEditors.Tests
  • MaterialViewVixen.Editor.AssetEditors
  • ShaderGraphCompilerVixen.Editor.ShaderGraph
  • ShaderGraphMaterialVixen.Editor.ShaderGraph
  • ShaderGraphSourceVixen.Editor.ShaderGraph
  • ShaderGraphTestsVixen.Editor.AssetEditors.Tests
  • ShaderGraphViewVixen.Editor.AssetEditors