PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0062 callback function (d3d12umddi.h)
When an application changes background processing mode, PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0062 is called to inform the UMD of the new settings.
Syntax
PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0062 Pfnd3d12ddiSetBackgroundProcessingMode0062;
void Pfnd3d12ddiSetBackgroundProcessingMode0062(
[in] D3D12DDI_HDEVICE hRTDevice,
D3D12DDI_BACKGROUND_PROCESSING_MODE_0062 Mode,
D3D12DDI_MEASUREMENTS_ACTION_0062 MeasurementsAction
)
{...}
Parameters
[in] hRTDevice
The handle of the device for the driver to use when it calls back into the runtime.
Mode
A D3D12DDI_BACKGROUND_PROCESSING_MODE_0062 enumeration that represents the background processing mode.
MeasurementsAction
A D3D12DDI_MEASUREMENTS_ACTION_0062 enumeration that represents the measurement action.
Return value
None
Remarks
Background processing work must only ever be used for optimization purposes. These work items must not affect functional correctness of the implementation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Header | d3d12umddi.h |