Enum VisualShaderNodeIntOp.OperatorEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum VisualShaderNodeIntOp.OperatorEnum : long
Fields
Add = 0
Sums two numbers using
a + b
.BitwiseAnd = 7
Returns the result of bitwise
AND
operation on the integer. Translates toa & b
in the Godot Shader Language.BitwiseLeftShift = 10
Returns the result of bitwise left shift operation on the integer. Translates to
a << b
in the Godot Shader Language.BitwiseOr = 8
Returns the result of bitwise
OR
operation for two integers. Translates toa | b
in the Godot Shader Language.BitwiseRightShift = 11
Returns the result of bitwise right shift operation on the integer. Translates to
a >> b
in the Godot Shader Language.BitwiseXor = 9
Returns the result of bitwise
XOR
operation for two integers. Translates toa ^ b
in the Godot Shader Language.Div = 3
Divides two numbers using
a / b
.EnumSize = 12
Represents the size of the VisualShaderNodeIntOp.OperatorEnum enum.
Max = 5
Returns the greater of two numbers. Translates to
max(a, b)
in the Godot Shader Language.Min = 6
Returns the lesser of two numbers. Translates to
max(a, b)
in the Godot Shader Language.Mod = 4
Calculates the remainder of two numbers using
a % b
.Mul = 2
Multiplies two numbers using
a * b
.Sub = 1
Subtracts two numbers using
a - b
.