Function TRAP::Graphics::API::ResourceStateToVkAccessFlags#

Function Documentation#

constexpr VkAccessFlags TRAP::Graphics::API::ResourceStateToVkAccessFlags(RendererAPI::ResourceState state) noexcept#

Convert the RendererAPI::ResourceState to VkAccessFlags.

Parameters:

state – ResourceState to convert.

Returns:

Converted VkAccessFlags.