Skip to content

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

NameDescription
Barrier<IVulkanBuffer, IVulkanImage>A barrier used for GPU resource synchronization.

Type Aliases

Member Functions

NameDescription
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

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::Rendering::Backends::VulkanBarrierBuilderBuilds a Vulkan Barrier.
LiteFX::Rendering::Backends::VulkanBarrier::VulkanBarrierImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

VulkanCommandBuffer

IVulkanBuffer

IVulkanImage

Barrier