IPixD3DState::GetViewports method

Get the viewports currently set on the command list via ID3D12GraphicsCommandList::RSSetViewports.

Syntax

HRESULT GetViewports(
    UINT32 count,
    D3D12_VIEWPORT * pViewports);

Parameters

count [in]

No description provided.

pViewports [out]

No description provided.

Returns

Returns failure if count does not match GetViewportCount() or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also