LiteFX::Rendering::Backends::DirectX12Barrier::DirectX12Barrier¶
Initializes a new DirectX 12 barrier.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] explicit DirectX12Barrier(
PipelineStage syncBefore,
PipelineStage syncAfter) noexcept;
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. |