Vixen
02b45cc4
csharp
public abstract class ShaderMasterNode

The node a graph ends at: what the shader actually outputs.

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

Remarks

A graph needs exactly one, and ShaderGraphCompiler says so — a graph with none produces nothing, and one with two would produce two shaders under one name. Which master it is decides the shape of the emitted stage, which is the one structural decision a node makes.

Fields and properties (1)

  • protected internal abstract string Result

    The expression the pixel stage returns.

Used by (4)

  • PbrMasterNodeVixen.Editor.ShaderGraph
  • ShaderGraphCompilerVixen.Editor.ShaderGraph
  • SpriteMasterNodeVixen.Editor.ShaderGraph
  • UnlitMasterNodeVixen.Editor.ShaderGraph