Skip to content

LiteFX::Rendering::Backends::VulkanBarrier::execute

Adds the barrier to a command buffer and updates the resource target states.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] void execute(VulkanCommandBuffer const& commandBuffer) const;

Exceptions

NameThrown on
RuntimeExceptionThrown, if any of the contained barriers is a image barrier that targets a sub-resource range that does not share the same ImageLayout in all sub-resources.

Parameters

NameDescription
commandBufferThe command buffer to add the barriers to.