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