Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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).