|
|
| Window (const WindowSettings &settings) |
|
GLFWwindow * | getContext () const |
|
Pair< float > | getSize () const |
|
float | getWidth () const |
|
void | setWidth (const float &val) |
|
float | getHeight () const |
|
void | setHeight (const float &val) |
|
void | toggleVsync () |
|
bool | isVsyncEnabled () const |
|
void | addClearMask (const unsigned int &val) |
|
void | setResizeCallback (std::function< void(GLFWwindow *, int, int)> &&func) |
|
void | execResizeCallback (GLFWwindow *context, const int &width, const int &height) |
|
void | setKeysCallback (std::function< void(GLFWwindow *, int, int, int, int)> &&func) |
|
void | execKeysCallback (GLFWwindow *context, const int &key, const int &code, const int &action, const int &mods) |
|
void | setMouseButtonCallback (std::function< void(GLFWwindow *, int, int, int)> &&func) |
|
void | execMouseButtonCallback (GLFWwindow *context, const int &button, const int &action, const int &mods) |
|
void | setCursorPosCallback (std::function< void(GLFWwindow *, double, double)> &&func) |
|
void | execCursorPosCallback (GLFWwindow *context, const double &xpos, const double &ypos) |
| virtual void | onAttach () override |
| virtual void | onDetach () override |
| virtual void | onUpdate () override |
| virtual void | onRender () override |
| virtual void | begin () override |
| virtual void | end () override |
|
| Layer (const std::string &name) |
|
| Layer (const Layer &other)=delete |
|
std::string | getName () const |
|
bool | isAttached () const |
|
|
std::string | m_name {"Layer"} |
|
bool | m_attached = false |
◆ begin()
| void ogl::Window::begin |
( |
| ) |
|
|
overridevirtual |
◆ end()
| void ogl::Window::end |
( |
| ) |
|
|
overridevirtual |
◆ onAttach()
| void ogl::Window::onAttach |
( |
| ) |
|
|
overridevirtual |
◆ onDetach()
| void ogl::Window::onDetach |
( |
| ) |
|
|
overridevirtual |
◆ onRender()
| void ogl::Window::onRender |
( |
| ) |
|
|
overridevirtual |
◆ onUpdate()
| void ogl::Window::onUpdate |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- Opengl-Core/include/Core/Window.hpp
- Opengl-Core/src/Core/Window.cpp