Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 3.37 KB

ns-d3dhal-_d3dhal_dp2adddirtybox.md

File metadata and controls

89 lines (61 loc) · 3.37 KB
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_DP2ADDDIRTYBOX
_D3DHAL_DP2ADDDIRTYBOX (d3dhal.h)
DirectX 8.1 and later versions only. D3DHAL_DP2ADDDIRTYBOX is used to specify that a portion of a 3D resource--a volume texture--was dirtied in system memory. Therefore, this volume must be reloaded into video memory before being used.
display\d3dhal_dp2adddirtybox.htm
display
05/10/2018
D3DHAL_DP2ADDDIRTYBOX structure
*LPD3DHAL_DP2ADDDIRTYBOX, D3DHAL_DP2ADDDIRTYBOX, D3DHAL_DP2ADDDIRTYBOX structure [Display Devices], LPD3DHAL_DP2ADDDIRTYBOX, LPD3DHAL_DP2ADDDIRTYBOX structure pointer [Display Devices], _D3DHAL_DP2ADDDIRTYBOX, d3dhal/D3DHAL_DP2ADDDIRTYBOX, d3dhal/LPD3DHAL_DP2ADDDIRTYBOX, d3dstrct_ae7da3ce-63e0-4854-ad22-12b2669baba2.xml, display.d3dhal_dp2adddirtybox
d3dhal.h
D3dhal.h
Windows
Windows
D3DHAL_DP2ADDDIRTYBOX
_D3DHAL_DP2ADDDIRTYBOX
d3dhal/_D3DHAL_DP2ADDDIRTYBOX
D3DHAL_DP2ADDDIRTYBOX
d3dhal/D3DHAL_DP2ADDDIRTYBOX
APIRef
kbSyntax
HeaderDef
d3dhal.h
_D3DHAL_DP2ADDDIRTYBOX
D3DHAL_DP2ADDDIRTYBOX

_D3DHAL_DP2ADDDIRTYBOX structure

-description

DirectX 8.1 and later versions only.

D3DHAL_DP2ADDDIRTYBOX is used to specify that a portion of a 3D resource--a volume texture--was dirtied in system memory. Therefore, this volume must be reloaded into video memory before being used.

-struct-fields

-field dwSurface

Specifies the handle to the managed 3D resource that contains a dirtied volume texture.

-field DirtyBox

Specifies the volume texture that was marked as dirtied. This is a D3DBOX structure, which is described in the Microsoft Windows SDK documentation.

-remarks

D3DHAL_DP2ADDDIRTYBOX, along with the DP2OP_ADDDIRTYBOX token, is used only for driver managed resources. D3DHAL_DP2ADDDIRTYBOX is never sent unless the driver indicates that it manages resources. To indicate that it manages resources, the driver must set the DDCAPS2_CANMANAGERESOURCE bit, in addition to the DDCAPS2_CANMANAGETEXTURE bit, in the dwCaps2 member of a DDCORECAPS structure. The driver specifies this DDCORECAPS structure in the ddCaps member of a DD_HALINFO structure when the driver's DrvGetDirectDrawInfo function is called to initialize the DirectDraw component of the driver.

-see-also

D3DHAL_DP2COMMAND

D3DHAL_DP2OPERATION

DDCORECAPS

DD_HALINFO

DrvGetDirectDrawInfo