PFND3DDDI_DEPTHFILL callback function

The DepthFill function fills a depth buffer with a pixel value that is specified in native format.

Syntax


PFND3DDDI_DEPTHFILL DepthFill;

__checkReturn HRESULT APIENTRY DepthFill(
  _In_       HANDLE              hDevice,
  _In_ const D3DDDIARG_DEPTHFILL *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_DEPTHFILL structure that describes the parameters of the depth-fill operation.

Return value

DepthFill returns one of the following values:

Return codeDescription
S_OK

The depth-fill operation was successful.

E_OUTOFMEMORY

DepthFill could not allocate the required memory for it to complete.

 

Remarks

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.

Requirements

Target platform

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DEPTHFILL
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show: