pfnDisableDeferredStagingResourceDestruction routine

The pfnDisableDeferredStagingResourceDestruction function disables the deferred destruction of staging resources.

Syntax


PFND3D10DDI_DISABLE_DEFERRED_STAGING_RESOURCE_DESTRUCTION_CB pfnDisableDeferredStagingResourceDestruction;

void APIENTRY pfnDisableDeferredStagingResourceDestruction(
  _In_ D3D10DDI_HRTCORELAYER hRuntimeDevice
)
{ ... }

Parameters

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

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateDevice(D3D10)
D3D10DDI_CORELAYER_DEVICECALLBACKS
ResourceIsStagingBusy

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft