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 shading rate image currently bound on the command list via ID3D12GraphicsCommandList5::RSSetShadingRateImage.
Syntax
HRESULT GetShadingRateImage(
REFIID riid,
void ** ppImage);
Parameters
riid [in]
The interface IID of the shading rate image to be returned. Expected: IPixShadingRateImage.
ppImage [out]
Pointer to the returned interface.
Returns
Returns failure if no shading rate image is bound or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).