ID3D12VideoEncoder::GetCodec method (d3d12video.h)

Gets the codec associated with the video encoder.

Syntax

D3D12_VIDEO_ENCODER_CODEC GetCodec();

Return value

The value from the D3D12_VIDEO_ENCODER_CODEC enumeration specified in the D3D12_VIDEO_ENCODER_DESC passed into ID3D12VideoDevice3::CreateVideoEncoder.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h