LiteFX::Rendering::Backends::VulkanBarrier::VulkanBarrier¶
Initializes a new Vulkan barrier.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Copy constructor
[[dllimport, dllexport]] VulkanBarrier(VulkanBarrier const& other);
Move constructor
[[dllimport, dllexport]] VulkanBarrier(VulkanBarrier&& other) noexcept;
Initializes a new Vulkan barrier.
[[dllimport, dllexport]] explicit VulkanBarrier(
PipelineStage syncBefore,
PipelineStage syncAfter) noexcept;
Parameters¶
| Name | Description |
|---|---|
| syncBefore | The pipeline stage(s) all previous commands have to finish before the barrier is executed. |
| syncAfter | The pipeline stage(s) all subsequent commands are blocked at until the barrier is executed. |