Class NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel>
Inheritance
NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel>
Syntax
public class NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel> : NodeTraitsBase where TNodeData : struct, INodeData where TSimPorts : struct, ISimulationPortDefinition where TKernelData : struct, IKernelData where TKernelPortDefinition : struct, IKernelPortDefinition where TKernel : struct, IGraphKernel<TKernelData, TKernelPortDefinition>
Type Parameters
| Name |
Description |
| TNodeData |
|
| TSimPorts |
|
| TKernelData |
|
| TKernelPortDefinition |
|
| TKernel |
|
Methods
GetKernelData(NodeHandle)
Returns a reference to a node's TKernelData memory.
Writing to this will update it into the rendering graph
after the next Update(JobHandle).
Declaration
public TKernelData GetKernelData(NodeHandle handle)
Parameters
Returns
| Type |
Description |
| TKernelData |
|
Exceptions
| Type |
Condition |
| ArgumentException |
Thrown if the handle does not refer to a valid node.
|
GetNodeData(NodeHandle)
Declaration
public TNodeData GetNodeData(NodeHandle handle)
Parameters
Returns
| Type |
Description |
| TNodeData |
|