![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <modules/glfw/glfwuserdata.h>
Public Member Functions | |
| template<typename T> | |
| T * | get (GLFWUserDataId id) |
| GLFWUserData (GLFWwindow *win) | |
| template<typename T> | |
| void | set (GLFWUserDataId id, T *ptr) |
Static Public Member Functions | |
| template<typename T> | |
| static T * | get (GLFWwindow *win, GLFWUserDataId id) |
| template<typename T> | |
| static void | set (GLFWwindow *win, GLFWUserDataId id, T *ptr) |
A helper to be able to pass more data around with the glfw user pointer