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
14
namespace
evan
15
{
25
class
WindowsDesktopPlatform
:
public
IDesktopPlatform
26
{
27
public
:
37
WindowsDesktopPlatform
(
const
std::string &name,
const
uint32_t width,
38
const
uint32_t height);
39
46
~WindowsDesktopPlatform
() =
default
;
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
evan::IDesktopPlatform
Desktop platform implementation.
Definition
IDesktopPlatform.hpp:35
evan::WindowsDesktopPlatform
Windows desktop platform implementation.
Definition
WindowsPlatform.hpp:26
evan::WindowsDesktopPlatform::createSurface
VkSurfaceKHR createSurface(VkInstance instance) const override
Create a Vulkan surface for the Windows desktop platform.
Definition
WindowsPlatoform.cpp:52
evan::WindowsDesktopPlatform::getRequiredInstanceExtensions
std::vector< std::string > getRequiredInstanceExtensions() const override
Get the required instance extensions for the Windows desktop platform.
Definition
WindowsPlatoform.cpp:37
evan::WindowsDesktopPlatform::~WindowsDesktopPlatform
~WindowsDesktopPlatform()=default
Destructor for WindowsDesktopPlatform. This destructor ensures proper cleanup of resources associated...
evan::WindowsDesktopPlatform::getDefaultCacheRoot
std::filesystem::path getDefaultCacheRoot() const override
Get the Windows cache root directory.
Definition
WindowsPlatoform.cpp:71
headers
evan
glfw
platform
WindowsPlatform.hpp
Generated by
1.9.8