LiteFX::Rendering::Backends::DirectX12Barrier::DirectX12Barrier¶
Initializes a new DirectX 12 barrier.
Synopses¶
Declared in <litefx/backends/dx12.hpp>
Copy constructor
[[dllimport, dllexport]] DirectX12Barrier(DirectX12Barrier const& other);
Move constructor
[[dllimport, dllexport]] DirectX12Barrier(DirectX12Barrier&& other) noexcept;
Initializes a new DirectX 12 barrier.
[[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. |