Inviwo 0.9.12-pre
Inviwo documentation
|
#include <glfwuserdata.h>
Public Member Functions | |
GLFWUserData (GLFWwindow *win) | |
template<typename T > | |
void | set (GLFWUserDataId id, T *ptr) |
template<typename T > | |
T * | get (GLFWUserDataId id) |
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