Table of Contents

Enum BinaryOperator

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

Operands of the MaterialNode.

[DataContract("BinaryOperator")]
public enum BinaryOperator

Fields

Add = 0

Add of the two textures.

Average = 1

Average of the two textures.

Color = 2

Color effect from the two textures.

ColorBurn = 3

Color burn effect from the two textures.

ColorDodge = 4

Color dodge effect from the two textures.

Darken = 5

Darken effect from the two textures.

Desaturate = 6

Desaturate effect from the two textures.

Difference = 7

Difference of the two textures.

Divide = 8

Divide first texture with the second one.

Exclusion = 9

Exclusion effect from the two textures.

HardLight = 10

Hard light effect from the two textures.

HardMix = 11

hard mix effect from the two textures.

Hue = 12

Hue effect from the two textures.

Illuminate = 13

Illuminate effect from the two textures.

In = 14

In effect from the two textures.

Lighten = 15

Lighten effect from the two textures.

LinearBurn = 16

Linear burn effect from the two textures.

LinearDodge = 17

Linear dodge effect from the two textures.

Mask = 18

Apply mask from second texture to the first one.

Multiply = 19

Multiply the two textures.

Out = 20

Out effect from the two textures.

Over = 21

Over effect from the two textures.

Overlay = 22

Overlay effect from the two textures.

PinLight = 23

Pin light effect from the two textures.

Saturate = 24

Saturate effect from the two textures.

Saturation = 25

Saturation effect from the two textures.

Screen = 26

Screen effect from the two textures.

SoftLight = 27

Soft light effect from the two textures.

SubstituteAlpha = 29

Take color for the first texture but alpha from the second

Subtract = 28

Subtract the two textures.

Threshold = 30

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