#pragma once #include #include struct RenderDevice; struct Frame { VkCommandPool commandPool; VkCommandBuffer commandBuffer; VkSemaphore imageAcquiredSemaphore; VkSemaphore renderFinishedSemaphore; VkFence frameReadyToReuse; [[nodiscard]] bool isInit() const; Frame(VkDevice device, uint32_t directQueueFamilyIndex); void cleanup(RenderDevice const& renderDevice); ~Frame(); };