IPixD3D12Resource::GetCastableFormat method

Get the castable format at the given index.

Syntax

HRESULT GetCastableFormat(
    UINT32 index,
    DXGI_FORMAT * castableFormat);

Parameters

index [in]

The index of the castable format.

castableFormat [out]

The requested castable format.

Returns

Returns a HRESULT value.

See also