PFND3DDDI_SETDEPTHSTENCIL callback function (d3dumddi.h)
The SetDepthStencil function sets the depth buffer in the driver's context.
Syntax
PFND3DDDI_SETDEPTHSTENCIL Pfnd3dddiSetdepthstencil;
HRESULT Pfnd3dddiSetdepthstencil(
HANDLE hDevice,
const D3DDDIARG_SETDEPTHSTENCIL *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_SETDEPTHSTENCIL structure that specifies the depth buffer.
Return value
SetDepthStencil returns S_OK or an appropriate error result if the depth buffer is not successfully set.
Remarks
The user-mode display driver should store the depth buffer in the driver's context when the Microsoft Direct3D runtime calls SetDepthStencil.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |