Progressia/desktop/graphics/vulkan_mgmt.h
OLEGSHA ae4e265a90
Squash improve-ide-compat into main
Fixes GH-5

- cppcheck replaced with clang-tidy
- clang-tidy lint warnings fixed
- Reworked build tools from scratch to make IDE setup easier
- Added 1.5 IDE setup guides
2023-11-10 21:30:55 +01:00

29 lines
444 B
C++

#pragma once
#include "vulkan_common.h"
namespace progressia::desktop {
class VulkanManager {
private:
std::unique_ptr<Vulkan> vulkan;
public:
VulkanManager();
~VulkanManager();
Vulkan *getVulkan();
const Vulkan *getVulkan() const;
void resizeSurface();
/*
* Returns false when the frame should be skipped
*/
bool startRender();
void endRender();
};
} // namespace progressia::desktop