IPixPlacedD3D12Resource::GetD3D12Heap method

Get the D3D12 heap that the resource was placed in.

Syntax

HRESULT GetD3D12Heap(
    REFIID riid,
    void ** heap);

Parameters

riid [in]

The interface IID of the D3D12 heap to be returned. Expected: IPixD3D12Heap.

heap [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also