ID3D12VideoEncoderHeap::GetCodec method (d3d12video.h)

Gets the codec associated with the video encoder heap.

Syntax

D3D12_VIDEO_ENCODER_CODEC GetCodec();

Return value

The value from the D3D12_VIDEO_ENCODER_CODEC enumeration specified in the D3D12_VIDEO_ENCODER_HEAP_DESC passed into ID3D12VideoDevice3::CreateVideoEncoderHeap.

Requirements

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