Enum RenderingDevice.LogicOperation
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.LogicOperation : long
Fields
And = 1
AND logic operation.
AndInverted = 4
AND logic operation with the source operand being inverted. See also AndReverse.
AndReverse = 2
AND logic operation with the destination operand being inverted. See also AndInverted.
Clear = 0
Clear logic operation (result is always
0
). See also Set.Copy = 3
Copy logic operation (keeps the source value as-is). See also CopyInverted and NoOp.
CopyInverted = 12
NOT logic operation (inverts the value). See also Copy.
Equivalent = 9
Not-XOR (XNOR) logic operation.
Invert = 10
Invert logic operation.
Max = 16
Represents the size of the RenderingDevice.LogicOperation enum.
Nand = 14
Not-AND (NAND) logic operation.
NoOp = 5
No-op logic operation (keeps the destination value as-is). See also Copy.
Nor = 8
Not-OR (NOR) logic operation.
Or = 7
OR logic operation.
OrInverted = 13
OR logic operation with the source operand being inverted. See also OrReverse.
OrReverse = 11
OR logic operation with the destination operand being inverted. See also OrReverse.
Set = 15
SET logic operation (result is always
1
). See also Clear.Xor = 6
Exclusive or (XOR) logic operation.