Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines constants that specify logical operations to configure for a render target.
Syntax
typedef enum D3D12_LOGIC_OP {
D3D12_LOGIC_OP_CLEAR = 0,
D3D12_LOGIC_OP_SET,
D3D12_LOGIC_OP_COPY,
D3D12_LOGIC_OP_COPY_INVERTED,
D3D12_LOGIC_OP_NOOP,
D3D12_LOGIC_OP_INVERT,
D3D12_LOGIC_OP_AND,
D3D12_LOGIC_OP_NAND,
D3D12_LOGIC_OP_OR,
D3D12_LOGIC_OP_NOR,
D3D12_LOGIC_OP_XOR,
D3D12_LOGIC_OP_EQUIV,
D3D12_LOGIC_OP_AND_REVERSE,
D3D12_LOGIC_OP_AND_INVERTED,
D3D12_LOGIC_OP_OR_REVERSE,
D3D12_LOGIC_OP_OR_INVERTED
} ;
Constants
D3D12_LOGIC_OP_CLEARValue: 0 Clears the render target ( 0). |
|
D3D12_LOGIC_OP_SETSets the render target ( 1). |
|
D3D12_LOGIC_OP_COPYCopys the render target ( s |
|
D3D12_LOGIC_OP_COPY_INVERTEDPerforms an inverted-copy of the render target ( ~s). |
|
D3D12_LOGIC_OP_NOOPNo operation is performed on the render target ( d destination in the Render Target View). |
|
D3D12_LOGIC_OP_INVERTInverts the render target ( ~d). |
|
D3D12_LOGIC_OP_ANDPerforms a logical AND operation on the render target ( s & d). |
|
D3D12_LOGIC_OP_NANDPerforms a logical NAND operation on the render target ( ~(s & d)). |
|
D3D12_LOGIC_OP_ORPerforms a logical OR operation on the render target ( s |
d). |
D3D12_LOGIC_OP_NORPerforms a logical NOR operation on the render target ( ~(s |
d)). |
D3D12_LOGIC_OP_XORPerforms a logical XOR operation on the render target ( s ^ d). |
|
D3D12_LOGIC_OP_EQUIVPerforms a logical equal operation on the render target ( ~(s ^ d)). |
|
D3D12_LOGIC_OP_AND_REVERSEPerforms a logical AND and reverse operation on the render target ( s & ~d). |
|
D3D12_LOGIC_OP_AND_INVERTEDPerforms a logical AND and invert operation on the render target ( ~s & d). |
|
D3D12_LOGIC_OP_OR_REVERSEPerforms a logical OR and reverse operation on the render target ( s |
~d). |
D3D12_LOGIC_OP_OR_INVERTEDPerforms a logical OR and invert operation on the render target ( ~s |
d). |
Remarks
This enum is used by the D3D12_RENDER_TARGET_BLEND_DESC structure.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |