D3D10_DDI_BLEND'enumerazione (d3d10umddi.h)

Il tipo di enumerazione D3D10_DDI_BLEND contiene valori che identificano le modalità di fusione in una chiamata alla funzione CreateBlendState del driver.

Sintassi

typedef enum D3D10_DDI_BLEND {
  D3D10_DDI_BLEND_ZERO = 1,
  D3D10_DDI_BLEND_ONE = 2,
  D3D10_DDI_BLEND_SRC_COLOR = 3,
  D3D10_DDI_BLEND_INV_SRC_COLOR = 4,
  D3D10_DDI_BLEND_SRC_ALPHA = 5,
  D3D10_DDI_BLEND_INV_SRC_ALPHA = 6,
  D3D10_DDI_BLEND_DEST_ALPHA = 7,
  D3D10_DDI_BLEND_INV_DEST_ALPHA = 8,
  D3D10_DDI_BLEND_DEST_COLOR = 9,
  D3D10_DDI_BLEND_INV_DEST_COLOR = 10,
  D3D10_DDI_BLEND_SRC_ALPHASAT = 11,
  D3D10_DDI_BLEND_BLEND_FACTOR = 14,
  D3D10_DDI_BLEND_INVBLEND_FACTOR = 15,
  D3D10_DDI_BLEND_SRC1_COLOR = 16,
  D3D10_DDI_BLEND_INV_SRC1_COLOR = 17,
  D3D10_DDI_BLEND_SRC1_ALPHA = 18,
  D3D10_DDI_BLEND_INV_SRC1_ALPHA = 19,
  D3D10_DDI_BLEND_ALPHA_FACTOR = 20,
  D3D10_DDI_BLEND_INVALPHA_FACTOR = 21
} ;

Costanti

 
D3D10_DDI_BLEND_ZERO
Valore: 1
Il fattore di blend è (0, 0, 0, 0).
D3D10_DDI_BLEND_ONE
Valore: 2
Il fattore di blend è (1, 1, 1, 1).
D3D10_DDI_BLEND_SRC_COLOR
Valore: 3
Il fattore blend è (Rs,Gs,Bs,As).
D3D10_DDI_BLEND_INV_SRC_COLOR
Valore: 4
Il fattore di blend è (1 - Rs, 1 - Gs, 1 - Bs, 1 - As).
D3D10_DDI_BLEND_SRC_ALPHA
Valore: 5
Il fattore blend è (As, As, As, As).
D3D10_DDI_BLEND_INV_SRC_ALPHA
Valore: 6
Il fattore di blend è ( 1 - Come, 1 - Come, 1 - Come, 1 - As).
D3D10_DDI_BLEND_DEST_ALPHA
Valore: 7
Il fattore blend è (Ad, A d, A d, Ad, Ad) della destinazione di rendering corrente in fase di fusione.
D3D10_DDI_BLEND_INV_DEST_ALPHA
Valore: 8
Il fattore di blend è (1 - D, 1 - A d, 1 - Ad, 1- A d) della destinazione di rendering corrente in fase di fusione.
D3D10_DDI_BLEND_DEST_COLOR
Valore: 9
Il fattore blend è (R d, Gd, Bd, Ad) della destinazione di rendering corrente in fase di fusione.
D3D10_DDI_BLEND_INV_DEST_COLOR
Valore: 10
Il fattore blend è (1 - Rd, 1- G d, 1- B, 1- A d) della destinazione di rendering corrente che viene combinata.
D3D10_DDI_BLEND_SRC_ALPHASAT
Valore: 11
Il fattore di blend è (f, f, f, 1); f = min(A, 1 - Ad).
D3D10_DDI_BLEND_BLEND_FACTOR
Valore: 14
Fattore costante di fusione dei colori usato dal frullatore del buffer frame.
D3D10_DDI_BLEND_INVBLEND_FACTOR
Valore: 15
Fattore di combinazione di colori costante invertito usato dal frullatore del buffer frame.
D3D10_DDI_BLEND_SRC1_COLOR
Valore: 16
Il fattore blend è i componenti rosso, verde e blu (RGB) di un registro di output pixel shader (PS output o1.rgb).
D3D10_DDI_BLEND_INV_SRC1_COLOR
Valore: 17
Il fattore blend è l'inversione dei componenti RGB di un registro di output pixel shader (1.0f - OUTPUT PS o1.rgb).
D3D10_DDI_BLEND_SRC1_ALPHA
Valore: 18
Il fattore blend è il componente alfa di un registro di output pixel shader (PS output o1.a).
D3D10_DDI_BLEND_INV_SRC1_ALPHA
Valore: 19
Il fattore blend è l'inversione del componente alfa di un registro di output pixel shader (1.0f - OUTPUT PS o1.a).
D3D10_DDI_BLEND_ALPHA_FACTOR
Valore: 20
Il fattore di blend è il componente alfa del fattore di fusione dei colori usato dal frullatore del buffer frame.
D3D10_DDI_BLEND_INVALPHA_FACTOR
Valore: 21
Il fattore di fusione è 1 meno il componente alfa del fattore di fusione dei colori usato dal frullatore del buffer frame.

Commenti

Una modalità di fusione è un algoritmo usato per determinare la modalità di fusione di una trama con i colori della superficie a cui viene applicata la trama. Un fattore di fusione è una descrizione del modo in cui ogni componente colore viene unito nella fusione di trame.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista
Intestazione d3d10umddi.h (include D3d10umddi.h)

Vedi anche

CreateBlendState