// d3d10umddi.h
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb;
void Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb(
D3D10DDI_HRTCORELAYER unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnDisableDeferredStagingResourceDestruction function disables the deferred destruction of staging resources.
unnamedParam1hRuntimeDevice [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.
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.
D3D10DDI_CORELAYER_DEVICECALLBACKS