Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BinaryOperator Enum

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

    Operands of the MaterialNode.

    [DataContract("BinaryOperator")]
    public enum BinaryOperator

    Fields

    Name Description
    Add

    Add of the two textures.

    Average

    Average of the two textures.

    Color

    Color effect from the two textures.

    ColorBurn

    Color burn effect from the two textures.

    ColorDodge

    Color dodge effect from the two textures.

    Darken

    Darken effect from the two textures.

    Desaturate

    Desaturate effect from the two textures.

    Difference

    Difference of the two textures.

    Divide

    Divide first texture with the second one.

    Exclusion

    Exclusion effect from the two textures.

    HardLight

    Hard light effect from the two textures.

    HardMix

    hard mix effect from the two textures.

    Hue

    Hue effect from the two textures.

    Illuminate

    Illuminate effect from the two textures.

    In

    In effect from the two textures.

    Lighten

    Lighten effect from the two textures.

    LinearBurn

    Linear burn effect from the two textures.

    LinearDodge

    Linear dodge effect from the two textures.

    Mask

    Apply mask from second texture to the first one.

    Multiply

    Multiply the two textures.

    Out

    Out effect from the two textures.

    Over

    Over effect from the two textures.

    Overlay

    Overlay effect from the two textures.

    PinLight

    Pin light effect from the two textures.

    Saturate

    Saturate effect from the two textures.

    Saturation

    Saturation effect from the two textures.

    Screen

    Screen effect from the two textures.

    SoftLight

    Soft light effect from the two textures.

    SubstituteAlpha

    Take color for the first texture but alpha from the second

    Subtract

    Subtract the two textures.

    Threshold

    Threshold, resulting in a black-white texture for grayscale against a set threshold

    Extension Methods

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

    Back to top

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