Skip to content

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

NameDescription
syncBeforeThe pipeline stage(s) all previous commands have to finish before the barrier is executed.
syncAfterThe pipeline stage(s) all subsequent commands are blocked at until the barrier is executed.