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¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, 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¶
| Name | Description |
|---|---|
| commandBuffer | The command buffer to add the barriers to. |