IPixPostmortemD3D12Resource::GetAttribute method

Gets the resource attribute by index.

Syntax

HRESULT GetAttribute(
    UINT64 index,
    PIX_POSTMORTEM_RESOURCE_ATTRIBUTE * pAttribute);

Parameters

index [in]

The index of the resource attribute to retrieve.

pAttribute [out]

Pointer to the resource attribute.

Returns

S_OK on success, otherwise an error code.

See also