Skip to content
Snippets Groups Projects

Resolve "Mehrere Fenster, Abhängigkeiten von Core zu Fenster+Swapchain etc"

4 files
+ 60
10
Compare changes
  • Side-by-side
  • Inline
Files
4
  • f79ebc8f
    [#89] change imageView handling to SwapchainManager and changed Swapchain creation · f79ebc8f
    Sebastian Gaida authored
@@ -17,6 +17,7 @@ namespace vkcv {
private:
Context *m_context;
void destroySwapchainById(uint64_t id);
public:
@@ -32,10 +33,15 @@ namespace vkcv {
SwapchainManager &operator=(const SwapchainManager &other) = delete;
SwapchainHandle createSwapchain(Window &window, Context &context);
SwapchainHandle createSwapchain(Window &window);
[[nodiscard]]
Swapchain &getSwapchain(const SwapchainHandle handle) const;
void signalRecreation(const SwapchainHandle handle);
std::vector<vk::Image> getSwapchainImages(const SwapchainHandle handle);
std::vector<vk::ImageView> createSwapchainImageViews(SwapchainHandle handle);
};
}
\ No newline at end of file
Loading