enumerazione D3D12DDI_STENCIL_OP (d3d12umddi.h)
Il tipo di enumerazione D3D12DDI_STENCIL_OP contiene valori che identificano le operazioni sui buffer degli stencil in una chiamata alla funzione CreateDepthStencil State del driver.
Sintassi
typedef enum D3D12DDI_STENCIL_OP {
D3D12DDI_STENCIL_OP_KEEP,
D3D12DDI_STENCIL_OP_ZERO,
D3D12DDI_STENCIL_OP_REPLACE,
D3D12DDI_STENCIL_OP_INCR_SAT,
D3D12DDI_STENCIL_OP_DECR_SAT,
D3D12DDI_STENCIL_OP_INVERT,
D3D12DDI_STENCIL_OP_INCR,
D3D12DDI_STENCIL_OP_DECR
} ;
Costanti
D3D12DDI_STENCIL_OP_KEEP Non aggiornare la voce nel buffer degli stencil. D3D12DDI_STENCIL_OP_KEEP è il valore predefinito. |
D3D12DDI_STENCIL_OP_ZERO Impostare la voce stencil-buffer su 0. |
D3D12DDI_STENCIL_OP_REPLACE Sostituire la voce stencil-buffer con un valore di riferimento. |
D3D12DDI_STENCIL_OP_INCR_SAT Incrementare la voce stencil-buffer, bloccando il valore massimo. |
D3D12DDI_STENCIL_OP_DECR_SAT Decrementare la voce stencil-buffer, bloccando su zero. |
D3D12DDI_STENCIL_OP_INVERT Invertire i bit nella voce stencil-buffer. |
D3D12DDI_STENCIL_OP_INCR Incrementare la voce stencil-buffer, con wrapping a zero se il nuovo valore supera il valore massimo. |
D3D12DDI_STENCIL_OP_DECR Decrementare la voce stencil-buffer, con wrapping al valore massimo se il nuovo valore è minore di zero. |
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Windows 10, versione 1809 |
intestazione | d3d12umddi.h |