Freigeben über


D3D10_DDI_BLEND_OP-Aufzählung (d3d10umddi.h)

Der D3D10_DDI_BLEND_OP Enumerationstyp enthält Werte, die Blendingvorgänge in einem Aufruf der CreateBlendState-Funktion des Treibers identifizieren.

Syntax

typedef enum D3D10_DDI_BLEND_OP {
  D3D10_DDI_BLEND_OP_ADD,
  D3D10_DDI_BLEND_OP_SUBTRACT,
  D3D10_DDI_BLEND_OP_REV_SUBTRACT,
  D3D10_DDI_BLEND_OP_MIN,
  D3D10_DDI_BLEND_OP_MAX
} ;

Konstanten

 
D3D10_DDI_BLEND_OP_ADD
Das Ergebnis ist das Ziel, das der Quelle hinzugefügt wird (Ergebnis = Quelle + Ziel).
D3D10_DDI_BLEND_OP_SUBTRACT
Das Ergebnis ist das Ziel, das von der Quelle subtrahiert wird (Ergebnis = Quelle - Ziel).
D3D10_DDI_BLEND_OP_REV_SUBTRACT
Das Ergebnis ist die Quelle, die vom Ziel subtrahiert wird (Ergebnis = Ziel - Quelle).
D3D10_DDI_BLEND_OP_MIN
Das Ergebnis ist das Minimum der Quelle und des Ziels (Ergebnis = MIN(Quelle, Ziel))
D3D10_DDI_BLEND_OP_MAX
Das Ergebnis ist das Maximum der Quelle und des Ziels (Result = MAX(Source, Destination))

Anforderungen

Anforderung Wert
mindestens unterstützte Client- Verfügbar in Windows Vista und höheren Versionen der Windows-Betriebssysteme.
Header- d3d10umddi.h (include D3d10umddi.h)

Siehe auch

CreateBlendState-