Struct CommonContext | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CommonContext

    The common portion of the API which appears on all contexts. Instances of InitContext, MessageContext, and UpdateContext can all be implicitly cast to this common context.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Unity.DataFlowGraph
    Syntax
    public struct CommonContext : IContext<CommonContext>

    Properties

    Handle

    A handle to the node being operated on.

    Declaration
    public NodeHandle Handle { get; }
    Property Value
    Type Description
    NodeHandle
    Implements
    IContext<TSelf>.Handle

    Set

    The NodeSetAPI associated with this context.

    Declaration
    public NodeSetAPI Set { get; }
    Property Value
    Type Description
    NodeSetAPI
    Implements
    IContext<TSelf>.Set

    Extension Methods

    CommonContextAPI.EmitMessage<TContext, T, TNodeDefinition>(ref TContext, MessageOutput<TNodeDefinition, T>, T)
    CommonContextAPI.EmitMessage<TContext, T, TNodeDefinition>(ref TContext, PortArray<MessageOutput<TNodeDefinition, T>>, Int32, T)
    CommonContextAPI.UpdateKernelBuffers<TContext, TGraphKernel>(ref TContext, TGraphKernel)
    CommonContextAPI.UploadRequest<TContext, T>(ref TContext, NativeArray<T>, BufferUploadMethod)
    CommonContextAPI.UpdateKernelData<TContext, TKernelData>(ref TContext, TKernelData)
    CommonContextAPI.RegisterForUpdate<TContext>(ref TContext)
    CommonContextAPI.RemoveFromUpdate<TContext>(ref TContext)
    CommonContextAPI.SetKernelBufferSize<TContext, TGraphKernel>(ref TContext, TGraphKernel)
    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