Condividi tramite


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;

Membri

StencilFailOp

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

StencilDepthFailOp

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

StencilPassOp

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

StencilFunc

Valore D3D12DDI_COMPARISON_FUNC-typed che indica la funzione di confronto degli stencil da eseguire.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10, versione 1809
intestazione d3d12umddi.h