Vixen
dd8b0a81
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 a setting was given on this node, or its declared default.

  • 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 (157, showing 40)

  • AbsoluteNodeVixen.Editor.ShaderGraph
  • AddNodeVixen.Editor.ShaderGraph
  • AmbientOcclusionNodeVixen.Editor.TextureGraph
  • AngularVelocityNodeVixen.Editor.VfxGraph
  • AttractNodeVixen.Editor.VfxGraph
  • AutoLevelsNodeVixen.Editor.TextureGraph
  • BillboardOutputNodeVixen.Editor.VfxGraph
  • BindingVixen.Editor.NodeGraph.Tests
  • BitmapNodeVixen.Editor.TextureGraph
  • BlendNodeVixen.Editor.TextureGraph
  • BlurHqNodeVixen.Editor.TextureGraph
  • BlurNodeVixen.Editor.TextureGraph
  • BufferNodeVixen.Editor.AssetEditors
  • BufferReadbackNodeVixen.Editor.AssetEditors
  • BufferUploadNodeVixen.Editor.AssetEditors
  • BurstNodeVixen.Editor.VfxGraph
  • ChannelShuffleNodeVixen.Editor.TextureGraph
  • CheckerNodeVixen.Editor.ShaderGraph
  • CheckerNodeVixen.Editor.TextureGraph
  • CollidePlaneNodeVixen.Editor.VfxGraph
  • CollideSphereNodeVixen.Editor.VfxGraph
  • ColourNodeVixen.Editor.VfxGraph
  • ColourOverLifeNodeVixen.Editor.VfxGraph
  • ColourPropertyNodeVixen.Editor.ShaderGraph
  • ColourSelectNodeVixen.Editor.TextureGraph
  • CombineNodeVixen.Editor.ShaderGraph
  • CompositorGraphCompilerVixen.Editor.AssetEditors
  • CompositorNodeVixen.Editor.AssetEditors
  • ComputeNodeVixen.Editor.AssetEditors
  • ConstantNodeVixen.Editor.ShaderGraph
  • CropNodeVixen.Editor.TextureGraph
  • CurvatureNodeVixen.Editor.TextureGraph
  • CurveNodeVixen.Editor.TextureGraph
  • CustomOverLifeNodeVixen.Editor.VfxGraph
  • DirectionalBlurNodeVixen.Editor.TextureGraph
  • DirectionalWarpNodeVixen.Editor.TextureGraph
  • DistanceNodeVixen.Editor.TextureGraph
  • DivideNodeVixen.Editor.ShaderGraph
  • DotNodeVixen.Editor.ShaderGraph
  • DragNodeVixen.Editor.VfxGraph