#include <canvasglfw.h>
|
| GLFWWindowHandler (Canvas *canvas, const std::string &title, uvec2 dimensions) |
|
Canvas::ContextID | getContextId () const |
|
|
static void | provideExternalContext (GLFWwindow *sharedContext) |
|
static GLFWwindow * | sharedContext () |
|
static GLFWwindow * | createWindow (const std::string &title, uvec2 dimensions) |
|
Helper class for handling the GLFW window and the associated rendering context. This class is required by CanvasGLFW to ensure that the rendering context is still active while CanvasGL is being destructed.
- See also
- CanvasGLFW
◆ provideExternalContext()
static void inviwo::GLFWWindowHandler::provideExternalContext |
( |
GLFWwindow * | sharedContext | ) |
|
|
static |
Can be used to hand in an initial shared context if GLFW is already set up. Should be called before the GLFW module is registered.
The documentation for this class was generated from the following file: