Vixen
02b45cc4
csharp
public sealed class NodeBinding

What each of a node's ports carries, for one compilation of one instance.

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

Remarks

Handed to Bind rather than reached out for, so a node cannot read a port it did not declare and cannot read the graph at all. A node is a function from its inputs to its outputs, and this is the argument list.

Fields and properties (2)

  • public static NodeBinding Empty

    A binding with nothing in it, for a node nobody has compiled yet.

  • public PortKind Resolved

    What this instance's dynamic ports resolved to.

Methods (5)

  • public ReadOnlySpan<float> Value(string name)

    The constant an unconnected input carries, as lanes.

  • public string Text(string name)

    The text an input was given on this node, or an empty string.

  • public bool IsConnected(string name)

    Whether an input has an edge arriving at it.

  • public string Input(string name)

    The expression arriving at one input.

  • public string Output(string name)

    The variable one output writes to.

Used by (82, showing 40)

  • AbsoluteNodeVixen.Editor.ShaderGraph
  • AddNodeVixen.Editor.ShaderGraph
  • AttractNodeVixen.Editor.VfxGraph
  • BillboardOutputNodeVixen.Editor.VfxGraph
  • BufferNodeVixen.Editor.AssetEditors
  • BufferReadbackNodeVixen.Editor.AssetEditors
  • BufferUploadNodeVixen.Editor.AssetEditors
  • BurstNodeVixen.Editor.VfxGraph
  • CollidePlaneNodeVixen.Editor.VfxGraph
  • ColourNodeVixen.Editor.VfxGraph
  • ColourOverLifeNodeVixen.Editor.VfxGraph
  • ColourPropertyNodeVixen.Editor.ShaderGraph
  • CombineNodeVixen.Editor.ShaderGraph
  • CompositorGraphCompilerVixen.Editor.AssetEditors
  • CompositorNodeVixen.Editor.AssetEditors
  • ComputeNodeVixen.Editor.AssetEditors
  • ConstantNodeVixen.Editor.ShaderGraph
  • DivideNodeVixen.Editor.ShaderGraph
  • DotNodeVixen.Editor.ShaderGraph
  • DragNodeVixen.Editor.VfxGraph
  • EffectNodeVixen.Editor.VfxGraph
  • FloatPropertyNodeVixen.Editor.ShaderGraph
  • FractionNodeVixen.Editor.ShaderGraph
  • FrameNodeVixen.Editor.AssetEditors
  • FullScreenNodeVixen.Editor.AssetEditors
  • GpuCullingNodeVixen.Editor.AssetEditors
  • GravityNodeVixen.Editor.VfxGraph
  • HiZNodeVixen.Editor.AssetEditors
  • IntegrateNodeVixen.Editor.VfxGraph
  • LerpNodeVixen.Editor.ShaderGraph
  • LifetimeNodeVixen.Editor.VfxGraph
  • LightOutputNodeVixen.Editor.VfxGraph
  • ListingCompilerVixen.Editor.NodeGraph.Tests
  • MultiplyNodeVixen.Editor.ShaderGraph
  • NodeVixen.Editor.NodeGraph
  • NodeGraphCompilerVixen.Editor.NodeGraph
  • NormalizeNodeVixen.Editor.ShaderGraph
  • OneMinusNodeVixen.Editor.ShaderGraph
  • PbrMasterNodeVixen.Editor.ShaderGraph
  • PositionInBoxNodeVixen.Editor.VfxGraph