Class KernelNodeDefinition<TKernelPortDefinition> | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class KernelNodeDefinition<TKernelPortDefinition>

    Base class for a rendering-only node. The presence of IKernelData and IGraphKernel structs as nested types in derived classes is mandatory and will automatically be discovered and used to hold rendering-side node data and declare the rendering function. NodeDefinition

    Inheritance
    Object
    NodeDefinition
    KernelNodeDefinition<TKernelPortDefinition>
    PolynomialCubeRotator.AdderNode
    PolynomialCubeRotator.EvaluatorNode
    PolynomialCubeRotator.ProceduralGeneratorNode
    I_Usage_DataFlow.MyNode
    J_Feature_SetData.MyNode
    K_Feature_GraphValues.MyNode
    L_Feature_Buffers.MyReader
    L_Feature_Buffers.MyWriter
    M_Usage_Aggregates.MyNode
    Q_Usage_FeedbackConnections.AddNode
    Q_Usage_FeedbackConnections.DelayLineNode
    Inherited Members
    NodeDefinition.Set
    NodeDefinition.Dispose()
    NodeDefinition.HasStaticPortDescription
    NodeDefinition.GetStaticPortDescription()
    NodeDefinition.GetPortDescription(NodeHandle)
    NodeDefinition.EmitMessage<T, TNodeDefinition>(NodeHandle, MessageOutput<TNodeDefinition, T>, T)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.DataFlowGraph
    Syntax
    public abstract class KernelNodeDefinition<TKernelPortDefinition> : NodeDefinition where TKernelPortDefinition : struct, IKernelPortDefinition
    Type Parameters
    Name Description
    TKernelPortDefinition

    Fields

    KernelPorts

    The kernel port definition of this node's public contract. Use this to connect together data flow in the rendering part of the graph using the various methods of NodeSetAPI which require a port.

    This is the concrete static instance of the IKernelPortDefinition struct used in the declaration of a node's Unity.DataFlowGraph.NodeDefinition`3. IGraphKernel<TKernelData, TKernelPortDefinition>

    Declaration
    public static readonly TKernelPortDefinition KernelPorts
    Field Value
    Type Description
    TKernelPortDefinition
    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