Freigeben über


D3D10_DDI_BLEND_OP-Enumeration (d3d10umddi.h)

Der D3D10_DDI_BLEND_OP-Enumerationstyps 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 vom Ziel subtrahierte Quelle (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 (Ergebnis = MAX(Source, Destination))

Anforderungen

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

Weitere Informationen

CreateBlendState