LiteFX::Rendering::BarrierBuilder::blockAccessTo¶
Specifies the resource accesses that are blocked for image until the barrier has executed.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr ImageBarrierBuilder<TSelf> blockAccessTo(this
TSelf&& self,
IImage& image,
ResourceAccess access);
Return Value¶
A builder that sets up a resource barrier for a specific image.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| image | The buffer to wait for. |
| access | The resource accesses that are blocked until the barrier has executed. |