// d3d10umddi.h
typedef enum D3D11_1_DDI_LOGIC_OP {
D3D11_1_DDI_LOGIC_OP_CLEAR,
D3D11_1_DDI_LOGIC_OP_SET,
D3D11_1_DDI_LOGIC_OP_COPY,
D3D11_1_DDI_LOGIC_OP_COPY_INVERTED,
D3D11_1_DDI_LOGIC_OP_NOOP,
D3D11_1_DDI_LOGIC_OP_INVERT,
D3D11_1_DDI_LOGIC_OP_AND,
D3D11_1_DDI_LOGIC_OP_NAND,
D3D11_1_DDI_LOGIC_OP_OR,
D3D11_1_DDI_LOGIC_OP_NOR,
D3D11_1_DDI_LOGIC_OP_XOR,
D3D11_1_DDI_LOGIC_OP_EQUIV,
D3D11_1_DDI_LOGIC_OP_AND_REVERSE,
D3D11_1_DDI_LOGIC_OP_AND_INVERTED,
D3D11_1_DDI_LOGIC_OP_OR_REVERSE,
D3D11_1_DDI_LOGIC_OP_OR_INVERTED
} ;
View the official Windows Driver Kit DDI referenceNo description available.
Indicates shader logic operations used in a blend state. In the following notation, the output value of each logic operation is given in terms of these values:
D3D11_1_DDI_LOGIC_OP_CLEAR0
D3D11_1_DDI_LOGIC_OP_SET1
D3D11_1_DDI_LOGIC_OP_COPYs
D3D11_1_DDI_LOGIC_OP_COPY_INVERTED~s
D3D11_1_DDI_LOGIC_OP_NOOPd
D3D11_1_DDI_LOGIC_OP_INVERT~d
D3D11_1_DDI_LOGIC_OP_ANDs AND d
D3D11_1_DDI_LOGIC_OP_NAND~(s AND d)
D3D11_1_DDI_LOGIC_OP_ORs OR d
D3D11_1_DDI_LOGIC_OP_NOR~(s OR d)
D3D11_1_DDI_LOGIC_OP_XORs ^ d
D3D11_1_DDI_LOGIC_OP_EQUIV~(s ^ d)
D3D11_1_DDI_LOGIC_OP_AND_REVERSEs AND ~d
D3D11_1_DDI_LOGIC_OP_AND_INVERTED~s AND d
D3D11_1_DDI_LOGIC_OP_OR_REVERSEs OR ~d
D3D11_1_DDI_LOGIC_OP_OR_INVERTED~s OR d
The D3D11_1_DDI_LOGIC_OP blend state logic operations are specified by the D3D11_1_DDI_BLEND_DESC.LogicOp member in a call to the CreateBlendState(D3D11_1) function.