Function TRAP::Graphics::API::ResourceStateToVkImageLayout#

Function Documentation#

constexpr VkImageLayout TRAP::Graphics::API::ResourceStateToVkImageLayout(RendererAPI::ResourceState usage) noexcept#

Convert the RendererAPI::ResourceState to VkImageLayout.

Parameters:

usage – ResourceState to convert.

Returns:

Converted VkImageLayout.