Class NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel> | Data Flow Graph | 0.11.10-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel>

    Inheritance
    Object
    NodeTraitsBase
    NodeTraits<TNodeData, TSimPorts, TKernelData, TKernelPortDefinition, TKernel>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.DataFlowGraph
    Syntax
    public sealed 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().

    Declaration
    public TKernelData GetKernelData(NodeHandle handle)
    Parameters
    Type Name Description
    NodeHandle handle
    Returns
    Type Description
    TKernelData
    Exceptions
    Type Condition
    ArgumentException

    Thrown if the handle does not refer to a valid node.

    GetNodeData(NodeHandle)

    See GetNodeData(NodeHandle)

    Declaration
    public TNodeData GetNodeData(NodeHandle handle)
    Parameters
    Type Name Description
    NodeHandle handle
    Returns
    Type Description
    TNodeData
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023