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 number of viewports currently set on the command list via ID3D12GraphicsCommandList::RSSetViewports.
Syntax
UINT32 GetViewportCount();
Parameters
This method has no parameters.
Returns
The viewport count, or 0 if RSSetViewports has not been called or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario). Max is D3D12_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE.