Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComputeBinaryScalar Class

    Namespace: Stride.Rendering.Materials.ComputeColors
    Assembly: Stride.Rendering.dll

    A node that describe a binary operation between two IComputeScalar

    System.Object → ComputeNode → ComputeBinaryBase<IComputeScalar> → ComputeBinaryScalar
    Derived from ComputeBinaryScalar:

    [DataContract("ComputeBinaryScalar")]
    [Display("Binary Operator", null)]
    public class ComputeBinaryScalar : ComputeBinaryBase<IComputeScalar>, IComputeScalar, IComputeNode
    Name Description
    Constructors
    ComputeBinaryScalar()

    Initializes a new instance of the ComputeBinaryScalar class.

    ComputeBinaryScalar(IComputeScalar, IComputeScalar, BinaryOperator)

    Initializes a new instance of the ComputeBinaryScalar class.

    | Improve this Doc View Source

    Constructors


    ComputeBinaryScalar()

    Initializes a new instance of the ComputeBinaryScalar class.

    public ComputeBinaryScalar()

    ComputeBinaryScalar(IComputeScalar, IComputeScalar, BinaryOperator)

    Initializes a new instance of the ComputeBinaryScalar class.

    public ComputeBinaryScalar(IComputeScalar leftChild, IComputeScalar rightChild, BinaryOperator binaryOperator)
    Parameters
    Type Name Description
    IComputeScalar leftChild

    The left child.

    IComputeScalar rightChild

    The right child.

    BinaryOperator binaryOperator

    The material binary operand.


    Inherited Members

    ComputeBinaryBase<IComputeScalar>.Operator
    ComputeBinaryBase<IComputeScalar>.LeftChild
    ComputeBinaryBase<IComputeScalar>.RightChild
    ComputeBinaryBase<IComputeScalar>.GetChildren(Object)
    ComputeBinaryBase<IComputeScalar>.GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
    ComputeBinaryBase<IComputeScalar>.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation