Class KernelNodeDefinition<TKernelPortDefinition>
Base class for a rendering-only node. NodeDefinition
NodeDefinition<TKernelData, TKernelPortDefinition, TKernel>
Inherited Members
Namespace: Unity.DataFlowGraph
Syntax
public abstract class KernelNodeDefinition<TKernelPortDefinition> : NodeDefinition where TKernelPortDefinition : struct, IKernelPortDefinition
Type Parameters
Name | Description |
---|---|
TKernelPortDefinition |
Properties
KernelPorts
The kernel port definition of this node's public contract. Use this to connect together data flow in the rendering part of the graph using the various methods of NodeSet which require a port.
This is the concrete static instance of the IKernelPortDefinition struct used in the
declaration of a node's NodeDefinition<TKernelData, TKernelPortDefinition, TKernel>.
Declaration
public static TKernelPortDefinition KernelPorts { get; }
Property Value
Type | Description |
---|---|
TKernelPortDefinition |