ID3D11VideoContext1::VideoProcessorSetOutputShaderUsage method

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

pVideoProcessor [in]

Type: ID3D11VideoProcessor*

A pointer to the ID3D11VideoProcessor interface.

ShaderUsage [in]

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

This method does not return a value.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoContext1

 

 

Show: