Skip to content

LiteFX::Rendering::Backends::VulkanQueue::waitFor

Lets the CPU wait for a certain fence value to complete on the command queue.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual void waitFor(UInt64 fence) const override;

Description

This overload performs a CPU-side wait, i.e., the CPU blocks until the current queue has passed the fence value provided by the fence parameter.

Parameters

NameDescription
fenceThe value of the fence to wait for.

See Also

submit