PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb;

void Pfnd3d10ddiDisableDeferredStagingResourceDestructionCb(
  D3D10DDI_HRTCORELAYER unnamedParam1
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-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

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