Function gpa::api_types::VkToGpaFormat

Function Documentation

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

Gets the Format that corresponds to a given VkFormat

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 VkFormat value to get the corresponding Format for

Returns

The Format corresponding to the given VkFormat