Condividi tramite


enumerazione D3D10_DDI_BLEND_OP (d3d10umddi.h)

Il tipo di enumerazione D3D10_DDI_BLEND_OP contiene valori che identificano le operazioni di fusione in una chiamata alla funzione CreateBlend State del driver.

Sintassi

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
} ;

Costanti

 
D3D10_DDI_BLEND_OP_ADD
Il risultato è la destinazione aggiunta all'origine (Risultato = Origine e destinazione).
D3D10_DDI_BLEND_OP_SUBTRACT
Il risultato è la destinazione sottratta dall'origine (Result = Source - Destination).
D3D10_DDI_BLEND_OP_REV_SUBTRACT
Il risultato è l'origine sottratta dalla destinazione (Result = Destination - Source).
D3D10_DDI_BLEND_OP_MIN
Il risultato è il minimo dell'origine e della destinazione (Result = MIN(Source, Destination))
D3D10_DDI_BLEND_OP_MAX
Il risultato è il massimo dell'origine e della destinazione (Risultato = MAX(Origine, Destinazione))

Fabbisogno

Requisito Valore
client minimo supportato Disponibile in Windows Vista e versioni successive dei sistemi operativi Windows.
intestazione d3d10umddi.h (include D3d10umddi.h)

Vedere anche

CreateBlendState