struttura D3DHAL_DP2SETDEPTHSTENCIL (d3dhal.h)

Solo DirectX 9.0 e versioni successive.

La struttura D3DHAL_DP2SETDEPTHSTENCIL viene usata per eseguire il mapping di un nuovo buffer di profondità nel contesto corrente del driver quando il codice dell'operazione D3DDP2OP_SETDEPTHSTENCIL viene ricevuto da D3dDrawPrimitives2.

Sintassi

typedef struct _D3DHAL_DP2SETDEPTHSTENCIL {
  DWORD hZBuffer;
} D3DHAL_DP2SETDEPTHSTENCIL;

Members

hZBuffer

Specifica un handle per il buffer di profondità.

Commenti

Il driver deve archiviare il buffer di profondità identificato da hZBuffer nel contesto del driver quando il runtime invia un codice operazione D3DDP2OP_SETDEPTHSTENCIL nel flusso di comandi D3dDrawPrimitives2 .

Requisiti

Requisito Valore
Intestazione d3dhal.h (include D3dhal.h)

Vedi anche

D3DDP2OP_SETDEPTHSTENCIL

D3dDrawPrimitives2