Vixen
dd8b0a81
csharp
public readonly record struct TextureGraphOutput

One map a compiled graph produces: which image it is, and what it is for.

Read the guide page for this →

Remarks

⚠ Carried by the compiler rather than by the plan, and that is a gap rather than a design. Outputs is a list of indices with no names on it — it is the evaluator's artefact and the evaluator has no use for a usage — so the join between "an image survived" and "it is the roughness map" lives here, and a bake reads it off the compiler. A layer stack compiling to the same plan would need its own copy of this, which is the second list doc 48 § D1 exists to prevent — #718.

Fields and properties (3)

  • public string Usage

    baseColor · normal · roughness · metalness · occlusion · height · emissive · opacity · mask — doc 48 § 4.8's list.

  • public int Image

    Its index in Images.

  • public NodeId Node

    The Output node that named it, so an author can be sent to it.

Methods (1)

  • public TextureGraphOutput(string Usage, int Image, NodeId Node)

    One map a compiled graph produces: which image it is, and what it is for.

Used by (17)

  • BakedMaterialImageTestsVixen.Graphics.Golden.Tests
  • LayerStackBakeDeviceTestsVixen.Editor.Texturing.Tests
  • LayerStackCompilationVixen.Editor.Texturing
  • LayerStackDifferentialVixen.Editor.Texturing.Tests
  • LayerStackExplodeTestsVixen.Editor.Texturing.Tests
  • LayerStackPreviewVixen.Editor.Texturing
  • MaterialBakeRouteVixen.Editor.Texturing
  • MaterialBakeRouteDeviceTestsVixen.Editor.Texturing.Tests
  • SplatCoverageDeviceTestsVixen.Editor.Texturing.Tests
  • TextureCompoundBakeDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphCompilationVixen.Editor.Texturing
  • TextureGraphCompilerVixen.Editor.TextureGraph
  • TextureGraphCompilerTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphPreviewVixen.Editor.Texturing
  • TextureGraphRunnerVixen.Cli
  • TextureNodeLibraryTestsVixen.Editor.TextureGraph.Tests