IPixShaderResourceView::GetLocationOffset method

Get the offset in bytes from the start of the resource.

Syntax

HRESULT GetLocationOffset(
    UINT64 * locationOffset);

Parameters

locationOffset [out]

The offset in bytes from the start of the resource.

Returns

Returns failure if the shader resource view is not a raytracing acceleration structure.

See also