PFND3DWDDM2_0DDI_VIDEOPROCESSORSETOUTPUTSHADERUSAGE callback function (d3d10umddi.h)

Sets the color space information for the video processor output surface. Optional for Windows Display Driver Model (WDDM) 2.0, or later, drivers.

Syntax

PFND3DWDDM2_0DDI_VIDEOPROCESSORSETOUTPUTSHADERUSAGE Pfnd3dwddm20DdiVideoprocessorsetoutputshaderusage;

void Pfnd3dwddm20DdiVideoprocessorsetoutputshaderusage(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
  BOOL ShaderUsage
)
{...}

Parameters

hDevice

A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.

hVideoProcessor

A handle to the video processor object.

ShaderUsage

Indicates whether the output of VideoProcessorBlt may be read by Direct3D shaders.

Note  This will always be TRUE unless multi-plane overlay hardware exists.
 

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3DDDIARG_CREATEDEVICE

VideoProcessorBlt