Function gpa::api_types::DxgiToGpaFormat

Function Documentation

Format gpa::api_types::DxgiToGpaFormat(int apiFormat)

Gets the Format that corresponds to a given DXGI_FORMAT

NOTE : If the GPA Framework is built without DirectX support this function will always return GPA_FORMAT_UNKNOWN.

Parameters

vkFormat -- [in] A int with the DXGI_FORMAT value to get the corresponding Format for

Returns

The Format corresponding to the given DXGI_FORMAT