LiteFX::Rendering::Backends::DirectX12Queue::waitFor¶
Lets the command queue wait for a certain fence value to complete on another queue.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] void waitFor(
DirectX12Queue const& queue,
UInt64 fence) const noexcept;
Description¶
This overload performs a GPU-side wait, i.e., the current command queue waits until queue has passed the fence value provided by the fence parameter. This overload does return immediately and does not block the CPU.
Parameters¶
| Name | Description |
|---|---|
| queue | The queue to wait upon. |
| fence | The value of the fence to wait upon on the other queue. |