IPixD3DState::GetGraphicsRootDescriptor method

Gets the buffer location of the root parameter at the given index on the graphics root signature set via ID3D12GraphicsCommandList::SetGraphicsRootConstantBufferView, SetGraphicsRootShaderResourceView, or SetGraphicsRootUnorderedAccessView.

Syntax

HRESULT GetGraphicsRootDescriptor(
    UINT32 rootParameterIndex,
    D3D12_GPU_VIRTUAL_ADDRESS * pGpuVa);

Parameters

rootParameterIndex

No description provided.

pGpuVa

No description provided.

Returns

Returns failure if the index is out of bounds, if no graphics root signature is bound, or if not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also