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

    Class NodeTraits<TKernelData, TKernelPortDefinition, TKernel>

    Inheritance
    Object
    NodeTraitsBase
    NodeTraits<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<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
    Type Name Description
    NodeHandle handle
    Returns
    Type Description
    TKernelData
    Exceptions
    Type Condition
    ArgumentException

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

    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