D3D11_1_DDI_LOGIC_OP - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-d3d10umddi-d3d11_1_ddi_logic_op)

D3D11_1_DDI_LOGIC_OP enumeration

Description

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:

Constants

D3D11_1_DDI_LOGIC_OP_CLEAR

0

D3D11_1_DDI_LOGIC_OP_SET

1

D3D11_1_DDI_LOGIC_OP_COPY

s

D3D11_1_DDI_LOGIC_OP_COPY_INVERTED

~s

D3D11_1_DDI_LOGIC_OP_NOOP

d

D3D11_1_DDI_LOGIC_OP_INVERT

~d

D3D11_1_DDI_LOGIC_OP_AND

s AND d

D3D11_1_DDI_LOGIC_OP_NAND

~(s AND d)

D3D11_1_DDI_LOGIC_OP_OR

s OR d

D3D11_1_DDI_LOGIC_OP_NOR

~(s OR d)

D3D11_1_DDI_LOGIC_OP_XOR

s ^ d

D3D11_1_DDI_LOGIC_OP_EQUIV

~(s ^ d)

D3D11_1_DDI_LOGIC_OP_AND_REVERSE

s AND ~d

D3D11_1_DDI_LOGIC_OP_AND_INVERTED

~s AND d

D3D11_1_DDI_LOGIC_OP_OR_REVERSE

s OR ~d

D3D11_1_DDI_LOGIC_OP_OR_INVERTED

~s OR d

Remarks

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.

See also

CreateBlendState(D3D11_1)

D3D11_1_DDI_BLEND_DESC