#include <GLFWContext.hpp>
◆ ~GLFWContext()
| dodo::core::GLFWContext::~GLFWContext |
( |
| ) |
|
29 {
33 }
34}
bool _ownsContext
Definition GLFWContext.hpp:22
static bool _initialized
Definition GLFWContext.hpp:21
GLFWAPI void glfwTerminate(void)
Terminates the GLFW library.
References _initialized, _ownsContext, and glfwTerminate().
◆ GLFWContext() [1/3]
| dodo::core::GLFWContext::GLFWContext |
( |
const GLFWContext & | other | ) |
|
|
delete |
◆ GLFWContext() [2/3]
| dodo::core::GLFWContext::GLFWContext |
( |
GLFWContext && | other | ) |
|
|
noexcept |
22 :
_ownsContext(std::exchange(other._ownsContext,
false)) {}
◆ GLFWContext() [3/3]
| dodo::core::GLFWContext::GLFWContext |
( |
| ) |
|
|
privatedefault |
◆ createContext()
| auto dodo::core::GLFWContext::createContext |
( |
| ) |
-> std::expected<GLFWContext, std::string> |
|
staticprivate |
◆ operator=() [1/2]
◆ operator=() [2/2]
24 {
25 if (
this != &other)
_ownsContext = std::exchange(other._ownsContext,
false);
26 return *this;
27}
◆ DodoContext
◆ _initialized
| bool dodo::core::GLFWContext::_initialized = false |
|
inlinestaticprivate |
◆ _ownsContext
| bool dodo::core::GLFWContext::_ownsContext = false |
|
private |
The documentation for this class was generated from the following files: