Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BlendOp

Description

Blend operation.

The blend operation that is used to combine the pixel shader output with the render target. Note that the logical operations are only supported in Gamma (non-sRGB) colorspace, on DX11.1 hardware running on DirectX 11.1 runtime.

Variables

AddAdd (s + d).
SubtractSubtract.
ReverseSubtractReverse subtract.
MinMin.
MaxMax.
LogicalClearLogical Clear (0).
LogicalSetLogical SET (1) (D3D11.1 only).
LogicalCopyLogical Copy (s) (D3D11.1 only).
LogicalCopyInvertedLogical inverted Copy (!s) (D3D11.1 only).
LogicalNoopLogical No-op (d) (D3D11.1 only).
LogicalInvertLogical Inverse (!d) (D3D11.1 only).
LogicalAndLogical AND (s & d) (D3D11.1 only).
LogicalNandLogical NAND !(s & d). D3D11.1 only.
LogicalOrLogical OR (s | d) (D3D11.1 only).
LogicalNorLogical NOR !(s | d) (D3D11.1 only).
LogicalXorLogical XOR (s XOR d) (D3D11.1 only).
LogicalEquivalenceLogical Equivalence !(s XOR d) (D3D11.1 only).
LogicalAndReverseLogical reverse AND (s & !d) (D3D11.1 only).
LogicalAndInvertedLogical inverted AND (!s & d) (D3D11.1 only).
LogicalOrReverseLogical reverse OR (s | !d) (D3D11.1 only).
LogicalOrInvertedLogical inverted OR (!s | d) (D3D11.1 only).