enumerazione D3D11_STENCIL_OP (d3d11.h)

Le operazioni di stencil che possono essere eseguite durante i test di profondità-stencil.

Sintassi

typedef enum D3D11_STENCIL_OP {
  D3D11_STENCIL_OP_KEEP = 1,
  D3D11_STENCIL_OP_ZERO = 2,
  D3D11_STENCIL_OP_REPLACE = 3,
  D3D11_STENCIL_OP_INCR_SAT = 4,
  D3D11_STENCIL_OP_DECR_SAT = 5,
  D3D11_STENCIL_OP_INVERT = 6,
  D3D11_STENCIL_OP_INCR = 7,
  D3D11_STENCIL_OP_DECR = 8
} ;

Costanti

 
D3D11_STENCIL_OP_KEEP
Valore: 1
Mantenere i dati stencil esistenti.
D3D11_STENCIL_OP_ZERO
Valore: 2
Impostare i dati stencil su 0.
D3D11_STENCIL_OP_REPLACE
Valore: 3
Impostare i dati stencil sul valore di riferimento impostato chiamando ID3D11DeviceContext::OMSetDepthStencilState.
D3D11_STENCIL_OP_INCR_SAT
Valore: 4
Incrementare il valore stencil per 1 e bloccare il risultato.
D3D11_STENCIL_OP_DECR_SAT
Valore: 5
Decrementare il valore stencil per 1 e bloccare il risultato.
D3D11_STENCIL_OP_INVERT
Valore: 6
Inverti i dati stencil.
D3D11_STENCIL_OP_INCR
Valore: 7
Incrementare il valore stencil per 1 e eseguire il wrapping del risultato se necessario.
D3D11_STENCIL_OP_DECR
Valore: 8
Decrementare il valore stencil per 1 e eseguire il wrapping del risultato se necessario.

Requisiti

   
Intestazione d3d11.h

Vedi anche

Enumerazioni principali