Bewerken

Delen via


PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0063 callback function (d3d12umddi.h)

When an application changes background processing mode, PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0063 is called to inform the UMD of the new settings.

Syntax

PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0063 Pfnd3d12ddiSetBackgroundProcessingMode0063;

void Pfnd3d12ddiSetBackgroundProcessingMode0063(
  [in] D3D12DDI_HDEVICE hRTDevice,
       D3D12DDI_BACKGROUND_PROCESSING_MODE_0062 Mode,
       D3D12DDI_MEASUREMENTS_ACTION_0062 MeasurementsAction,
       BOOL *pbFurtherMeasurementsDesired
)
{...}

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.

pbFurtherMeasurementsDesired

Pointer to a BOOL, indicating whether further measurements are desired.

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