struttura D3D12DDI_DEPTH_STENCILOP_DESC (d3d12umddi.h)

La struttura D3D12DDI_DEPTH_STENCILOP_DESC descrive le operazioni degli stencil che possono essere eseguite in base ai risultati del test degli stencil.

Sintassi

typedef struct D3D12DDI_DEPTH_STENCILOP_DESC {
  D3D12DDI_STENCIL_OP      StencilFailOp;
  D3D12DDI_STENCIL_OP      StencilDepthFailOp;
  D3D12DDI_STENCIL_OP      StencilPassOp;
  D3D12DDI_COMPARISON_FUNC StencilFunc;
} D3D12DDI_DEPTH_STENCILOP_DESC;

Members

StencilFailOp

Valore tipizzato D3D12DDI_STENCIL_OP che indica l'operazione da eseguire se il test dello stencil ha esito negativo.

StencilDepthFailOp

Valore tipizzato D3D12DDI_STENCIL_OP che indica l'operazione da eseguire se il test dello stencil supera e il test di profondità ha esito negativo.

StencilPassOp

Valore tipizzato D3D12DDI_STENCIL_OP che indica l'operazione da eseguire se vengono superati sia gli stencil che i test di profondità.

StencilFunc

Valore tipizzato D3D12DDI_COMPARISON_FUNC che indica la funzione di confronto stencil da eseguire.

Requisiti

Requisito Valore
Client minimo supportato Windows 10, versione 1809
Intestazione d3d12umddi.h