Skip to content

LiteFX::Rendering::Backends::VulkanBarrier::transition

Inserts a buffer barrier that blocks access to buffer of types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual void transition(
    IVulkanBuffer const& buffer,
    ResourceAccess accessBefore,
    ResourceAccess accessAfter) override;

Parameters

NameDescription
bufferThe buffer resource to transition.
accessBeforeThe access types previous commands have to finish.
accessAfterThe access types that subsequent commands continue with.