ID3D12VideoEncoderHeap::GetResolutionList method (d3d12video.h)

Gets the resolution list associated with the video encoder heap.

Syntax

HRESULT GetResolutionList(
  const UINT                                  ResolutionsListCount,
  D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC *pResolutionList
);

Parameters

ResolutionsListCount

The count of resolutions to retrieve. Get the number of resolutions with which the encoder heap was created by calling ID3D12VideoEncoderHeap::GetResolutionListCount.

pResolutionList

Receives a pointer to an array of D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC structures representing the resolutions specified in the D3D12_VIDEO_ENCODER_HEAP_DESC passed into ID3D12VideoDevice3::CreateVideoEncoderHeap.

Return value

Returns S_OK on success.

Requirements

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