D3D11_LOGIC_OP enumeration (d3d11_1.h)

Note  This enumeration is supported by the Direct3D 11.1 runtime, which is available on Windows 8 and later operating systems.
 
Specifies logical operations to configure for a render target.

Syntax

typedef enum D3D11_LOGIC_OP {
  D3D11_LOGIC_OP_CLEAR = 0,
  D3D11_LOGIC_OP_SET,
  D3D11_LOGIC_OP_COPY,
  D3D11_LOGIC_OP_COPY_INVERTED,
  D3D11_LOGIC_OP_NOOP,
  D3D11_LOGIC_OP_INVERT,
  D3D11_LOGIC_OP_AND,
  D3D11_LOGIC_OP_NAND,
  D3D11_LOGIC_OP_OR,
  D3D11_LOGIC_OP_NOR,
  D3D11_LOGIC_OP_XOR,
  D3D11_LOGIC_OP_EQUIV,
  D3D11_LOGIC_OP_AND_REVERSE,
  D3D11_LOGIC_OP_AND_INVERTED,
  D3D11_LOGIC_OP_OR_REVERSE,
  D3D11_LOGIC_OP_OR_INVERTED
} ;

Constants

 
D3D11_LOGIC_OP_CLEAR
Value: 0
Clears the render target.
D3D11_LOGIC_OP_SET
Sets the render target.
D3D11_LOGIC_OP_COPY
Copys the render target.
D3D11_LOGIC_OP_COPY_INVERTED
Performs an inverted-copy of the render target.
D3D11_LOGIC_OP_NOOP
No operation is performed on the render target.
D3D11_LOGIC_OP_INVERT
Inverts the render target.
D3D11_LOGIC_OP_AND
Performs a logical AND operation on the render target.
D3D11_LOGIC_OP_NAND
Performs a logical NAND operation on the render target.
D3D11_LOGIC_OP_OR
Performs a logical OR operation on the render target.
D3D11_LOGIC_OP_NOR
Performs a logical NOR operation on the render target.
D3D11_LOGIC_OP_XOR
Performs a logical XOR operation on the render target.
D3D11_LOGIC_OP_EQUIV
Performs a logical equal operation on the render target.
D3D11_LOGIC_OP_AND_REVERSE
Performs a logical AND and reverse operation on the render target.
D3D11_LOGIC_OP_AND_INVERTED
Performs a logical AND and invert operation on the render target.
D3D11_LOGIC_OP_OR_REVERSE
Performs a logical OR and reverse operation on the render target.
D3D11_LOGIC_OP_OR_INVERTED
Performs a logical OR and invert operation on the render target.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d3d11_1.h

See also

Core Enumerations