Function nanogui::init¶
Defined in File common.h
Function Documentation¶
-
void
nanogui::init()¶ Static initialization; should be called once before invoking any NanoGUI functions if you are having NanoGUI manage OpenGL / GLFW. This method is effectively a wrapper call to
glfwInit(), so if you are managing OpenGL / GLFW on your own do not call this method.Refer to Example 3 for how you might go about managing OpenGL and GLFW on your own, while still using NanoGUI’s classes.