holoride
Search Results for

    Show / Hide Table of Contents

    Class TernaryMathNodeBase

    Base class for ternary math operations, such as clamp.

    Inheritance
    object
    Object
    ScriptableObject
    XNode.Node
    Node
    Node<MapNode>
    MapNode
    TernaryMathNodeBase
    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 TernaryMathNodeBase : 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, string InputNameC) InputNames { get; }
    Property Value
    Type Description
    (string InputNameA, string InputNameB, string InputNameC)

    Methods

    Apply(ComputeBuffer, ComputeBuffer, ComputeBuffer, ComputeBuffer)

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

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

    The first input buffer.

    ComputeBuffer b

    The second input buffer.

    ComputeBuffer c

    The third 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