IPixD3D12Resource::GetInitialLayout method

Get the initial layout of the resource.

Syntax

HRESULT GetInitialLayout(
    D3D12_BARRIER_LAYOUT * layout);

Parameters

layout [out]

The initial layout of the resource.

Returns

Returns failure if the resource was created with an initial state.

See also