// d3d12umddi.h
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
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
When an application changes background processing mode, PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0063 is called to inform the UMD of the new settings.
hRTDevice [in]The handle of the device for the driver to use when it calls back into the runtime.
ModeA D3D12DDI_BACKGROUND_PROCESSING_MODE_0062 enumeration that represents the background processing mode.
MeasurementsActionA D3D12DDI_MEASUREMENTS_ACTION_0062 enumeration that represents the measurement action.
pbFurtherMeasurementsDesiredPointer to a BOOL, indicating whether further measurements are desired.
//Declaration
PFND3D12DDI_SET_BACKGROUND_PROCESSING_MODE_0063 Pfnd3d12ddiSetBackgroundProcessingMode0063;
// Definition
void Pfnd3d12ddiSetBackgroundProcessingMode0063
(
D3D12DDI_HDEVICE hRTDevice
D3D12DDI_BACKGROUND_PROCESSING_MODE_0062 Mode
D3D12DDI_MEASUREMENTS_ACTION_0062 MeasurementsAction
BOOL *pbFurtherMeasurementsDesired
)
{...}
Background processing work must only ever be used for optimization purposes. These work items must not affect functional correctness of the implementation.