IPixD3D12Resource::GetViews method

Get all resource views/descriptors associated with the current D3D12 resource.

Syntax

HRESULT GetViews(
    REFIID riid,
    void ** views);

Parameters

riid [in]

The interface IID of the D3D12 resource views to be returned. Expected: IPixResourceViewsForResource.

views [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also