Class Semaphore

Class Documentation

class 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 const VkSemaphore *semaphore() const

Private Members

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