Vixen
02b45cc4
csharp
public enum PortKind

What a port carries.

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

Remarks

A closed set, and deliberately a small one. Every kind here is something the three graphs can all agree on the meaning of; a node that needs a type nobody else has is a node that should be passing an index or a name through a scalar.

The vector kinds are ordered by width, which is not decoration: Resolve picks the widest of a set, and "widest" is Max over these values.

Fields and properties (11)

  • None

    Unresolved. Only Dynamic ports are ever this, and only before typing.

  • Bool

    A boolean.

  • Int

    A 32-bit signed integer.

  • Float

    One float.

  • Float2

    Two.

  • Float3

    Three.

  • Float4

    Four.

  • Texture

    A 2D texture.

  • Sampler

    A sampler.

  • Dynamic

    A vector whose width is whatever it is connected to.

  • Flow

    No value at all: an edge that means "after".

Used by (88, showing 40)

  • AbsoluteNodeVixen.Editor.ShaderGraph
  • AddNodeVixen.Editor.ShaderGraph
  • AttractNodeVixen.Editor.VfxGraph
  • BillboardOutputNodeVixen.Editor.VfxGraph
  • 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
  • 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
  • GraphPortAssetVixen.Editor.NodeGraph
  • 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
  • NodeBindingVixen.Editor.NodeGraph
  • NodeGraphCompilerVixen.Editor.NodeGraph
  • NodeGraphViewVixen.Editor.NodeGraph
  • NodeInspectorVixen.Editor.NodeGraph
  • NodeTypeDefinitionVixen.Editor.NodeGraph
  • NodeTypingTestsVixen.Editor.NodeGraph.Tests
  • NormalizeNodeVixen.Editor.ShaderGraph