PFND3DDDI_SETDEPTHSTENCIL funzione di callback (d3dumddi.h)

La funzione SetDepthStencil imposta il buffer di profondità nel contesto del driver.

Sintassi

PFND3DDDI_SETDEPTHSTENCIL Pfnd3dddiSetdepthstencil;

HRESULT Pfnd3dddiSetdepthstencil(
  HANDLE hDevice,
  const D3DDDIARG_SETDEPTHSTENCIL *unnamedParam2
)
{...}

Parametri

hDevice

Handle per il dispositivo di visualizzazione (contesto grafico).

unnamedParam2

pData [in]

Puntatore a una struttura D3DDDIARG_SETDEPTHSTENCIL che specifica il buffer di profondità .

Valore restituito

SetDepthStencil restituisce S_OK o un risultato di errore appropriato se il buffer di profondità non è stato impostato correttamente.

Commenti

Il driver di visualizzazione in modalità utente deve archiviare il buffer di profondità nel contesto del driver quando il runtime di Microsoft Direct3D chiama SetDepthStencil.

Requisiti

Requisito Valore
Client minimo supportato Disponibile in Windows Vista e versioni successive dei sistemi operativi Windows.
Piattaforma di destinazione Desktop
Intestazione d3dumddi.h (include D3dumddi.h)

Vedi anche

D3DDDIARG_SETDEPTHSTENCIL

D3DDDI_DEVICEFUNCS