evan 2026.1.4
Evan
Loading...
Searching...
No Matches
WindowsPlatform.hpp
1/*
2** ETIB PROJECT, 2026
3** evan
4** File description:
5** WindowsPlatform
6*/
7
8#pragma once
9
10#include "evan/glfw/IDesktopPlatform.hpp"
11
12#include <filesystem>
13
14namespace evan
15{
26 {
27 public:
37 WindowsDesktopPlatform(const std::string &name, const uint32_t width,
38 const uint32_t height);
39
47
60 std::vector<std::string> getRequiredInstanceExtensions() const override;
61
75 VkSurfaceKHR createSurface(VkInstance instance) const override;
76
77 protected:
83 std::filesystem::path getDefaultCacheRoot() const override;
84 };
85} // namespace evan
Desktop platform implementation.
Windows desktop platform implementation.
VkSurfaceKHR createSurface(VkInstance instance) const override
Create a Vulkan surface for the Windows desktop platform.
std::vector< std::string > getRequiredInstanceExtensions() const override
Get the required instance extensions for the Windows desktop platform.
~WindowsDesktopPlatform()=default
Destructor for WindowsDesktopPlatform. This destructor ensures proper cleanup of resources associated...
std::filesystem::path getDefaultCacheRoot() const override
Get the Windows cache root directory.