Vixen
dd8b0a81
csharp
public readonly record struct TextureGraphNodeImage

Which image one node's output port wrote.

Read the guide page for this →

Remarks

⚠ Only useful with PreviewEveryNode set, and that is not a convenience. An image a plan does not keep is freed the moment its last reader has run and its texture is handed to the next image that needs one — that is what makes the pool cheap — so reading one back after the bake gives whatever was written into it afterwards, which is a picture, of the wrong node, with nothing anywhere saying so.

Fields and properties (3)

  • public NodeId Node

    The node an author can select — put back through NodeGraphInlining, so a node that came out of a sub-graph is named by the sub-graph node in the open document.

  • public string Port

    Its output port.

  • public int Image

    Its index in Images.

Methods (1)

  • public TextureGraphNodeImage(NodeId Node, string Port, int Image)

    Which image one node's output port wrote.

Used by (7)

  • TextureGraphCompilerVixen.Editor.TextureGraph
  • TextureGraphPreviewDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphPreviewsVixen.Editor.TextureGraph
  • TextureGraphSubGraphTestsVixen.Editor.TextureGraph.Tests
  • TextureLevelDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureNodeResolutionTestsVixen.Editor.TextureGraph.Tests
  • TexturePixelProcessorTestsVixen.Editor.TextureGraph.Tests