Athugasemd
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
The DepthFill function fills a depth buffer with a pixel value that is specified in native format.
Syntax
PFND3DDDI_DEPTHFILL Pfnd3dddiDepthfill;
HRESULT Pfnd3dddiDepthfill(
HANDLE hDevice,
const D3DDDIARG_DEPTHFILL *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
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 code | Description |
---|---|---|
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
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) |