ID3D11VideoContext1::VideoProcessorGetOutputShaderUsage method

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

Syntax



void
 VideoProcessorGetOutputShaderUsage(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [out] BOOL                 *pShaderUsage
);

Parameters

pVideoProcessor [in]

Type: ID3D11VideoProcessor*

A pointer to the ID3D11VideoProcessor interface.

pShaderUsage [out]

Type: BOOL*

A pointer to a boolean value indicating if the output surface can be read by Direct3D shaders. True if the surface rendered using ID3D11VideoContext::VideoProcessorBlt can be read by Direct3D shaders; otherwise, false.

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: