Vixen
dd8b0a81
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 (12)

  • 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".

  • Image

    A whole raster: the thing a texture graph's nodes hand each other.

Used by (186, 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
  • BufferReadbackNodeVixen.Editor.AssetEditors
  • BufferUploadNodeVixen.Editor.AssetEditors
  • BuilderVixen.Editor.Texturing
  • 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
  • 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
  • EdgeDetectNodeVixen.Editor.TextureGraph