LiteFX::Rendering::CommandBuffer::makeBarrier¶
Creates a new barrier instance.
Synopsis¶
Declared in <litefx/rendering.hpp>
virtual UniquePtr<barrier_type> makeBarrier(
PipelineStage syncBefore,
PipelineStage syncAfter) const = 0;
Return Value¶
The instance of the barrier.
Parameters¶
| Name | Description |
|---|---|
| syncBefore | The pipeline stage(s) all previous commands have to finish before the barrier is executed. |
| syncAfter | The pipeline stage(s) all subsequent commands are blocked at until the barrier is executed. |