Skip to content

LiteFX::Rendering::Backends::VulkanBarrierBuilder::blockAccessTo

blockAccessTo overloads

Synopses

Declared in <litefx/rendering_builders.hpp>

Specifies the resource accesses that are blocked in a global barrier until the barrier has executed.

template<typename TSelf>
[[nodiscard]] constexpr GlobalBarrierBuilder<TSelf> blockAccessTo(this 
    TSelf&& self,
    ResourceAccess access);

» more...

Specifies the resource accesses that are blocked for buffer until the barrier has executed.

template<typename TSelf>
[[nodiscard]] constexpr BufferBarrierBuilder<TSelf> blockAccessTo(this 
    TSelf&& self,
    IBuffer& buffer,
    ResourceAccess access);

» more...

Specifies the resource accesses that are blocked for image until the barrier has executed.

template<typename TSelf>
[[nodiscard]] constexpr ImageBarrierBuilder<TSelf> blockAccessTo(this 
    TSelf&& self,
    IImage& image,
    ResourceAccess access);

» more...

Specifies the resource accesses that are blocked for buffer until the barrier has executed.

template<typename TSelf>
[[nodiscard]] constexpr BufferBarrierBuilder<TSelf> blockAccessTo(this 
    TSelf&& self,
    IBuffer& buffer,
    UInt32 subresource,
    ResourceAccess access);

» more...

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
accessThe resource accesses that are blocked until the barrier has executed.
bufferThe buffer to wait for.
imageThe buffer to wait for.
subresourceThe sub-resource to block.