RAII wrapper for initializing and terminating Glfw. Also sets a glfwErrorCallback.
Definition GlfwContext.hpp:24
static std::pair< const char **, uint32_t > get_required_instance_extensions()
Definition GlfwContext.hpp:58
GlfwContext()
Definition GlfwContext.hpp:26
GlfwContext & operator=(GlfwContext &&)=delete
GlfwContext(GlfwContext &&)=delete
~GlfwContext()
Definition GlfwContext.hpp:44
static glfw_error_callback m_error_callback
Definition GlfwContext.hpp:65
GlfwContext & operator=(const GlfwContext &)=delete
GlfwContext(const GlfwContext &)=delete
static void set_error_callback(const glfw_error_callback &callback)
Definition GlfwContext.hpp:54
static void glfw_error_callback_trampoline(int error_code, const char *description)
Definition GlfwContext.hpp:67