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 è impostato correttamente.
Osservazioni
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.
Fabbisogno
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) |