![]() |
wisdom
|
C version:
C++ version:
Logic operation for color blending operations.
D3D12_LOGIC_OP for DirectX 12 implementation, and VkLogicOp for Vulkan implementation.Values:
WisLogicOpClear = 0: Clear the destination value.WisLogicOpSet = 1: Set the destination value.WisLogicOpCopy = 2: Copy the source value to the destination.WisLogicOpCopyInverted = 3: Copy the inverted source value to the destination.WisLogicOpNoop = 4: Do not modify the destination value.WisLogicOpInvert = 5: Invert the destination value.WisLogicOpAnd = 6: Perform a bitwise AND operation on the source and destination values.WisLogicOpNand = 7: Perform a bitwise NAND operation on the source and destination values.WisLogicOpOr = 8: Perform a bitwise OR operation on the source and destination values.WisLogicOpNor = 9: Perform a bitwise NOR operation on the source and destination values.WisLogicOpXor = 10: Perform a bitwise XOR operation on the source and destination values.WisLogicOpEquiv = 11: Perform a bitwise equivalent operation on the source and destination values.WisLogicOpAndReverse = 12: Perform a bitwise AND operation on the source and inverted destination values.WisLogicOpAndInverted = 13: Perform a bitwise AND operation on the inverted source and destination values.WisLogicOpOrReverse = 14: Perform a bitwise OR operation on the source and inverted destination values.WisLogicOpOrInverted = 15: Perform a bitwise OR operation on the inverted source and destination values.