Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 3.37 KB

nc-d3d10umddi-pfnd3d10ddi_disable_deferred_staging_resource_destruction_cb.md

File metadata and controls

75 lines (55 loc) · 3.37 KB
UID title description old-location 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 tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB (d3d10umddi.h)
The pfnDisableDeferredStagingResourceDestruction function disables the deferred destruction of staging resources.
display\pfndisabledeferredstagingresourcedestruction.htm
05/10/2018
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB callback function
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB, PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB callback, d3d10state_functions_2a17cecf-fe42-4058-85d8-524e4ef4d207.xml, d3d10umddi/pfnDisableDeferredStagingResourceDestruction, display.pfndisabledeferredstagingresourcedestruction, pfnDisableDeferredStagingResourceDestruction, pfnDisableDeferredStagingResourceDestruction callback function [Display Devices]
d3d10umddi.h
D3d10umddi.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
Windows
display
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB
d3d10umddi/PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB

PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB callback function

-description

The pfnDisableDeferredStagingResourceDestruction function disables the deferred destruction of staging resources.

-parameters

-param unnamedParam1

hRuntimeDevice [in]

A handle to a context for the core Microsoft Direct3D 10 runtime. This handle is supplied to the driver in a call to the driver's CreateDevice(D3D10) function.

-remarks

By default, the Direct3D runtime defers the destruction of staging resources, until a call to the user-mode display driver's ResourceIsStagingBusy function indicates that the graphics pipeline no longer uses the resources. The runtime defers the destruction of staging resources because the destruction of a staging resource, while still in use, might cause the processor to block until the resource is no longer used.

If the user-mode display driver can ensure that this type of block can be avoided, the driver can call pfnDisableDeferredStagingResourceDestruction to disable the deferred destruction behavior.

-see-also

CreateDevice(D3D10)

D3D10DDI_CORELAYER_DEVICECALLBACKS

ResourceIsStagingBusy