IPixD3D12Resource::GetInitialState method

Get the initial state of the resource.

Syntax

HRESULT GetInitialState(
    D3D12_RESOURCE_STATES * resourceStates);

Parameters

resourceStates [out]

The initial state of the resource.

Returns

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

See also