Struct DataInput<TDefinition, TType>
Declaration of a specific data input connection port for a given node type.
These are used as fields within an IKernelPortDefinition struct implementation
(see
Connections and data appearing on these types of ports is only available in the node's implementation of Execute(RenderContext, TKernelData, ref TKernelPortDefinition) and accessible via the given RenderContext instance.
Inherited Members
Namespace: Unity.DataFlowGraph
Syntax
public struct DataInput<TDefinition, TType> : IIndexableInputPort where TDefinition : INodeDefinition where TType : struct
Type Parameters
Name | Description |
---|---|
TDefinition | The NodeDefinition<TNodeData, TSimulationportDefinition, TKernelData, TKernelPortDefinition, TKernel> to which this port is associated. |
TType |
Operators
Explicit(DataInput<TDefinition, TType> to InputPortID)
Declaration
public static explicit operator InputPortID(DataInput<TDefinition, TType> input)
Parameters
Type | Name | Description |
---|---|---|
DataInput<TDefinition, TType> | input |
Returns
Type | Description |
---|---|
InputPortID |