Blaze/Frame.h

24 lines
444 B
C

#pragma once
#include <utility>
#include <volk.h>
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 destroy( RenderDevice const& renderDevice );
~Frame();
};