Condividi tramite


enumerazione D3DX11_CHANNEL_FLAG

Nota

La libreria di utilità D3DX (D3DX 9, D3DX 10 e D3DX 11) è deprecata per Windows 8 e non è supportata per le app di Windows Store.

Questi flag vengono usati da funzioni che operano su uno o più canali in una trama.

Sintassi

typedef enum D3DX11_CHANNEL_FLAG { 
  D3DX11_CHANNEL_RED        = (1 << 0),
  D3DX11_CHANNEL_BLUE       = (1 << 1),
  D3DX11_CHANNEL_GREEN      = (1 << 2),
  D3DX11_CHANNEL_ALPHA      = (1 << 3),
  D3DX11_CHANNEL_LUMINANCE  = (1 << 4)
} D3DX11_CHANNEL_FLAG, *LPD3DX11_CHANNEL_FLAG;

Costanti

D3DX11_CHANNEL_RED

Indica che il canale rosso deve essere usato.

D3DX11_CHANNEL_BLUE

Indica che deve essere usato il canale blu.

D3DX11_CHANNEL_GREEN

Indica che il canale verde deve essere usato.

D3DX11_CHANNEL_ALPHA

Indica che deve essere usato il canale alfa.

D3DX11_CHANNEL_LUMINANCE

Indica che devono essere usate le lumiacee dei canali rossi, verdi e blu.

Requisiti

Requisito Valore
Intestazione
D3DX11tex.h

Vedi anche

Enumerazione D3DX