PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB callback function (d3d10umddi.h)
The pfnDisableDeferredStagingResourceDestruction function disables the deferred destruction of staging resources.
Syntax
PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb;
void Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb(
D3D10DDI_HRTCORELAYER unnamedParam1
)
{...}
Parameters
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.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for