UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:d3dhal._D3DHAL_DP2WINFO |
_D3DHAL_DP2WINFO (d3dhal.h) |
The D3DHAL_DP2WINFO structure is used to inform the driver of the w-range to be used for w-buffering. |
display\d3dhal_dp2winfo.htm |
display |
05/10/2018 |
|
*LPD3DHAL_DP2WINFO, D3DHAL_DP2WINFO, D3DHAL_DP2WINFO structure [Display Devices], LPD3DHAL_DP2WINFO, LPD3DHAL_DP2WINFO structure pointer [Display Devices], _D3DHAL_DP2WINFO, d3dhal/D3DHAL_DP2WINFO, d3dhal/LPD3DHAL_DP2WINFO, d3dstrct_f0755102-ab0f-43fd-9821-3cde940d24a1.xml, display.d3dhal_dp2winfo |
d3dhal.h |
D3dhal.h |
Windows |
Windows |
D3DHAL_DP2WINFO |
|
|
|
|
|
The D3DHAL_DP2WINFO structure is used to inform the driver of the w-range to be used for w-buffering.
Specify the near and far limit of the w-buffer, respectively. These members can be any valid floating-point values.
The D3dDrawPrimitives2 callback parses a D3DHAL_DP2WINFO structure from the command buffer and updates the driver's scaling parameters for w-buffering when D3DHAL_DP2COMMAND is set to D3DDP2OP_WINFO.
One D3DHAL_DP2WINFO structure follows the D3DHAL_DP2COMMAND structure in the command buffer.
The driver should update the w-buffer portion of its internal rendering context with the w-ranges specified in this structure. The driver can use this information to scale the w-buffer.
Video adapters that do not support this feature should ignore and skip over these instructions and continue processing the rest of the command buffer.
D3DDP2OP_WINFO