IPixD3DState::GetDescriptorHeaps 方法

透過 ID3D12GraphicsCommandList::SetDescriptorHeaps 取得目前繫結在命令清單上的描述元堆積。

語法

HRESULT GetDescriptorHeaps(
    REFIID riid,
    void ** ppDescriptorHeaps);

參數

riid [在]

要返回之集合的介面 IID。 預期: IPixCollection<IPixD3D12DescriptorHeap>。

ppDescriptorHeaps [出]

傳回介面的指標。

傳回

如果不支援,則會傳回失敗 (例如GPU 驅動程式不支援在 dxdmp 檔案案例) 中錄製資訊。

另請參閱