ID3D11VideoContext1::VideoProcessorSetOutputShaderUsage method (d3d11_1.h)

Sets a value indicating whether the output surface from a call to ID3D11VideoContext::VideoProcessorBlt will be read by Direct3D shaders.

Syntax

void VideoProcessorSetOutputShaderUsage(
  [in] ID3D11VideoProcessor *pVideoProcessor,
  [in] BOOL                 ShaderUsage
);

Parameters

[in] pVideoProcessor

Type: ID3D11VideoProcessor*

A pointer to the ID3D11VideoProcessor interface.

[in] ShaderUsage

Type: BOOL

True if the surface rendered using ID3D11VideoContext::VideoProcessorBlt will be read by Direct3D shaders; otherwise, false. This may be set to false when multi-plane overlay hardware is supported.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header d3d11_1.h

See also

ID3D11VideoContext1