LiteFX::Rendering::BarrierBuilder::waitFor¶
Specifies the pipeline stages to wait for before executing the barrier.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr SecondStageBuilder<TSelf> waitFor(this
TSelf&& self,
PipelineStage stage);
Return Value¶
A builder that sets up the pipeline stages to wait for and to continue with on a barrier.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| stage | The pipeline stages to wait for before executing the barrier. |