IPixD3DState::GetShadingRate method

Get the base shading rate currently set on the command list via ID3D12GraphicsCommandList5::RSSetShadingRate.

Syntax

HRESULT GetShadingRate(
    D3D12_SHADING_RATE * pRate);

Parameters

pRate [out]

No description provided.

Returns

Returns failure if RSSetShadingRate has not been called or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also