Vixen
dd8b0a81
csharp
public sealed class NodeTypeRegistry

Every node type a graph may contain, by path.

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

Remarks

Filled by generated code, not by reflection. The generator writes one Register per assembly listing that assembly's node types, and a host calls the ones it wants. Scanning assemblies would be the shorter code and would cost a reflection pass at startup, an AOT hazard, and a node library whose contents depend on which assemblies happened to be loaded.

An instance rather than a static. Two graphs may want different libraries — a shader graph has no spawner nodes and a VFX graph has no master node — and a test wants a registry with three types in it rather than the whole world. Nothing here is global.

Fields and properties (2)

  • public int Count

    How many types are registered.

  • public IEnumerable<NodeTypeDefinition> Types

    Every type, in no particular order.

Methods (3)

Used by (103, showing 40)

  • BakedMaterialImageTestsVixen.Graphics.Golden.Tests
  • GraphMaterialImageTestsVixen.Graphics.Golden.Tests
  • BindingVixen.Editor.NodeGraph.Tests
  • BuilderVixen.Editor.Texturing
  • CompositorCompilerTestsVixen.Editor.AssetEditors.Tests
  • CompositorDocumentVixen.Editor.AssetEditors
  • CompositorEditorFactoryVixen.Editor.AssetEditors
  • CompositorGraphCompilerVixen.Editor.AssetEditors
  • CompositorViewVixen.Editor.AssetEditors
  • ExternalCompoundTestsVixen.Editor.Texturing.Tests
  • GraphMaterialTestsVixen.Editor.ShaderGraph.Tests
  • LayerStackCompilerVixen.Editor.Texturing
  • LayerStackGraphVixen.Editor.Texturing
  • LayerStackViewVixen.Editor.Texturing
  • LayoutCommandVixen.Editor.NodeGraph
  • LayoutTestsVixen.Editor.NodeGraph.Tests
  • ListingCompilerVixen.Editor.NodeGraph.Tests
  • MaskStackTestsVixen.Editor.Texturing.Tests
  • MeshMapGeneratorBindingTestsVixen.Editor.App.Tests
  • NodeGraphCompilerVixen.Editor.NodeGraph
  • NodeGraphLayoutVixen.Editor.NodeGraph
  • NodeGraphViewVixen.Editor.NodeGraph
  • NodeInspectorDumpTestsVixen.Editor.NodeGraph.Tests
  • NodePortProviderTestsVixen.Editor.NodeGraph.Tests
  • NodePreviewWiringTestsVixen.Editor.Texturing.Tests
  • NodeSearchVixen.Editor.NodeGraph
  • NodeSearchPopupVixen.Editor.NodeGraph
  • NodeSearchPopupKeyTestsVixen.Editor.NodeGraph.Tests
  • NodeTypesVixen.Editor.VfxGraph
  • NodeTypesVixen.Editor.TextureGraph
  • NodeTypesVixen.Editor.NodeGraph.Tests
  • NodeTypesVixen.Editor.ShaderGraph
  • NodeTypesVixen.Editor.AssetEditors
  • NodeTypingTestsVixen.Editor.NodeGraph.Tests
  • PortKindImageTestsVixen.Editor.NodeGraph.Tests
  • PortValueTestsVixen.Editor.NodeGraph.Tests
  • ProjectCompoundDeviceTestsVixen.Editor.Texturing.Tests
  • RecordingVixen.Editor.NodeGraph.Tests
  • SealedControlTestsVixen.Editor.NodeGraph.Tests
  • SearchTestsVixen.Editor.NodeGraph.Tests