Enum BinaryOperator
- Namespace
- Stride.Rendering.Materials.ComputeColors
- Assembly
- Stride.Rendering.dll
Operands of the MaterialNode.
[DataContract("BinaryOperator")]
public enum BinaryOperator
Fields
Add = 0Add of the two textures.
Average = 1Average of the two textures.
Color = 2Color effect from the two textures.
ColorBurn = 3Color burn effect from the two textures.
ColorDodge = 4Color dodge effect from the two textures.
Darken = 5Darken effect from the two textures.
Desaturate = 6Desaturate effect from the two textures.
Difference = 7Difference of the two textures.
Divide = 8Divide first texture with the second one.
Exclusion = 9Exclusion effect from the two textures.
HardLight = 10Hard light effect from the two textures.
HardMix = 11hard mix effect from the two textures.
Hue = 12Hue effect from the two textures.
Illuminate = 13Illuminate effect from the two textures.
In = 14In effect from the two textures.
Lighten = 15Lighten effect from the two textures.
LinearBurn = 16Linear burn effect from the two textures.
LinearDodge = 17Linear dodge effect from the two textures.
Mask = 18Apply mask from second texture to the first one.
Multiply = 19Multiply the two textures.
Out = 20Out effect from the two textures.
Over = 21Over effect from the two textures.
Overlay = 22Overlay effect from the two textures.
PinLight = 23Pin light effect from the two textures.
Saturate = 24Saturate effect from the two textures.
Saturation = 25Saturation effect from the two textures.
Screen = 26Screen effect from the two textures.
SoftLight = 27Soft light effect from the two textures.
SubstituteAlpha = 29Take color for the first texture but alpha from the second
Subtract = 28Subtract the two textures.
Threshold = 30Threshold, resulting in a black-white texture for grayscale against a set threshold