Class NodeTraits<TKernelData, TKernelPortDefinition, TKernel>
Inheritance
NodeTraits<TKernelData, TKernelPortDefinition, TKernel>
Syntax
public sealed class NodeTraits<TKernelData, TKernelPortDefinition, TKernel> : NodeTraitsBase where TKernelData : struct, IKernelData where TKernelPortDefinition : struct, IKernelPortDefinition where TKernel : struct, IGraphKernel<TKernelData, TKernelPortDefinition>
Type Parameters
| Name |
Description |
| 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.
|