Class Semaphore

Class Documentation

class inexor::vulkan_renderer::wrapper::Semaphore

RAII wrapper class for VkSemaphore.

Public Functions

Semaphore(const Device &device, const std::string &name)

Default constructor.

Parameters
  • device – The const reference to a device RAII wrapper instance.

  • name – The internal debug marker name of the VkSemaphore.

Semaphore(const Semaphore&) = delete
Semaphore(Semaphore&&) noexcept
~Semaphore()
Semaphore &operator=(const Semaphore&) = delete
Semaphore &operator=(Semaphore&&) = delete
inline VkSemaphore get() const
inline const VkSemaphore *ptr() const

Private Members

const Device &m_device
VkSemaphore m_semaphore = {VK_NULL_HANDLE}
std::string m_name