LiteFX::Rendering::Backends::VulkanBarrier¶
Implements a Vulkan resource barrier.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
class [[dllimport, dllexport]] VulkanBarrier final
: public Barrier<IVulkanBuffer, IVulkanImage>
Base Classes¶
| Name | Description |
|---|---|
Barrier<IVulkanBuffer, IVulkanImage> | A barrier used for GPU resource synchronization. |
Type Aliases¶
Member Functions¶
| Name | Description |
|---|---|
VulkanBarrier [constructor] | Initializes a new Vulkan barrier. |
~VulkanBarrier [destructor] [virtual] | Destructor |
operator= | Assignment operators |
execute | Adds the barrier to a command buffer and updates the resource target states. |
syncAfter [virtual] | Returns the stage all subsequent commands need to wait for before continuing execution. |
syncBefore [virtual] | Returns the stage that all previous commands need to reach before continuing execution. |
transition | transition overloads |
wait [virtual] | Inserts a global barrier that waits for previous commands to finish accesses described by accessBefore before subsequent commands can continue with accesses described by accessAfter. |
Using Declarations¶
| Name |
|---|
transition |
Protected Member Functions¶
| Name | Description |
|---|---|
operator= | Assignment operators |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::Backends::VulkanBarrierBuilder | Builds a Vulkan Barrier. |
LiteFX::Rendering::Backends::VulkanBarrier::VulkanBarrierImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |
See Also¶
VulkanCommandBuffer
IVulkanBuffer
IVulkanImage
Barrier