evan
2026.1.4
Evan
Loading...
Searching...
No Matches
GlfwContext.hpp
1
/*
2
** ETIB PROJECT, 2026
3
** evan
4
** File description:
5
** GlfwContext
6
*/
7
8
#pragma once
9
10
#include <memory>
11
12
namespace
evan::glfw
13
{
26
class
GlfwContext
27
{
28
public
:
37
GlfwContext
();
38
45
~GlfwContext
() =
default
;
46
47
GlfwContext
(
const
GlfwContext
&) =
default
;
48
GlfwContext
(
GlfwContext
&&) noexcept = default;
49
GlfwContext
&operator=(const
GlfwContext
&) = default;
50
GlfwContext
&operator=(
GlfwContext
&&) noexcept = default;
51
52
private:
56
std::shared_ptr<
void
> _state;
57
};
58
}
// namespace evan::glfw
evan::glfw::GlfwContext
Reference-counted GLFW lifecycle guard.
Definition
GlfwContext.hpp:27
evan::glfw::GlfwContext::~GlfwContext
~GlfwContext()=default
Releases the GLFW library.
evan::glfw::GlfwContext::GlfwContext
GlfwContext()
Acquires the GLFW library.
Definition
GlfwContext.cpp:51
headers
evan
glfw
GlfwContext.hpp
Generated by
1.9.8