holoride
Search Results for

    Show / Hide Table of Contents

    Class BinaryMathNodeBase

    Base class for binary math operations, such as addition, multiplication etc.

    Inheritance
    object
    Object
    ScriptableObject
    XNode.Node
    Node
    Node<MapNode>
    MapNode
    BinaryMathNodeBase
    Implements
    IPipelineNode
    Inherited Members
    Node<MapNode>.Output
    Node<MapNode>.GetValue(NodePort)
    Node.Awake()
    Node.IsPortOptional(NodePort)
    Node.GetNodeCategoryType()
    Node.XNodePrettyName(Type)
    Node.TraverseSubGraph()
    Node.CallRecursive(Action<Node>, ISet<Node>)
    Node.ForEachOutput<T>(Action<T>)
    Node.GetInputSourcePorts(string)
    Node.GetOutputSinkPorts(string)
    Namespace: Holoride.ElasticSDK.Graph.Maps
    Assembly: Holoride.ElasticSDK.Runtime.dll
    Syntax
    public abstract class BinaryMathNodeBase : MapNode, IPipelineNode

    Properties

    InputNames

    Gets the names of the node inputs corresponding to the three operation inputs.

    These should resolve into MapWorkers defined as inputs with the corresponding names.

    Declaration
    protected abstract (string InputNameA, string InputNameB) InputNames { get; }
    Property Value
    Type Description
    (string InputNameA, string InputNameB)

    Methods

    Apply(ComputeBuffer, ComputeBuffer, ComputeBuffer)

    Applies the binary operation to the specified inputs and write the result into the specified output.

    Declaration
    protected abstract void Apply(ComputeBuffer a, ComputeBuffer b, ComputeBuffer output)
    Parameters
    Type Name Description
    ComputeBuffer a

    The first input buffer.

    ComputeBuffer b

    The second input buffer.

    ComputeBuffer output

    The output buffer.

    GeneratePipelineWorker()

    Declaration
    public override IPipelineWorker GeneratePipelineWorker()
    Returns
    Type Description
    IPipelineWorker
    Overrides
    MapNode.GeneratePipelineWorker()

    Implements

    IPipelineNode
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint