8 Semaphore::Semaphore():
9 device(Device::get_current())
11 const VulkanFunctions &vk = device.get_functions();
13 VkSemaphoreCreateInfo semaphore_info = { };
14 semaphore_info.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO;
16 vk.CreateSemaphore(semaphore_info, handle);
19 Semaphore::~Semaphore()
21 device.get_destroy_queue().destroy(handle);