// d3dumddi.h
PFND3DDDI_DEPTHFILL Pfnd3dddiDepthfill;
HRESULT Pfnd3dddiDepthfill(
HANDLE hDevice,
const D3DDDIARG_DEPTHFILL *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DepthFill function fills a depth buffer with a pixel value that is specified in native format.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DEPTHFILL structure that describes the parameters of the depth-fill operation.
DepthFill returns one of the following values:
| < | Return code | Description |
|---|---|---|
| S_OK | The depth-fill operation was successful. | |
| E_OUTOFMEMORY | DepthFill could not allocate the required memory for it to complete. |
DirectX version 7.0 and earlier runtimes call the DepthFill function to fill a depth buffer (z-buffer and stencil buffer) with a pixel value that is specified in native format.