|
OpenGL extension API wrapper. This is a Gdk::Window wrapper to invoke OpenGL extension function. See Gdk::GL::WindowExtProxy for available functions.
|
|
OpenGL extension API wrapper. This is a Gdk::Window wrapper to invoke OpenGL extension function. See Gdk::GL::WindowExtProxy for available functions. Here is a simple example: Glib::RefPtr<Gdk::Window> window = widget.get_window(); Glib::RefPtr<Gdk::GL::Window> glwindow = Gdk::GL::ext(window).set_gl_capability(glconfig); std::cout << "OpenGL-capable? " << Gdk::GL::ext(window).is_gl_capable() << std::endl;
|
|
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions.
|
|
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions. Here is a simple example: Glib::RefPtr<Gdk::Pixmap> pixmap = Gdk::Pixmap::create(0, width, height, glconfig->get_depth()); Glib::RefPtr<Gdk::GL::Pixmap> glpixmap = Gdk::GL::ext(pixmap).set_gl_capability(glconfig); std::cout << "OpenGL-capable? " << Gdk::GL::ext(pixmap).is_gl_capable() << std::endl;
|
|
Returns the address of the OpenGL extension functions.
|
|
Returns the address of the OpenGL extension functions.
|
|
Initialize gdkglextmm library. Call this function before using any other gdkglextmm functions in your applications. It will initialize everything needed to operate the library and parses some standard command line options. argc and argv are adjusted accordingly so your own code will never see those standard arguments. This function will terminate your program if it was unable to initialize the library for some reason. If you want your program to fall back to a textual interface you want to call Gdk::GL::init_check() instead.
|
|
Initialize gdkglextmm library. Call this function before using any other gdkglextmm functions in your applications. It will initialize everything needed to operate the library and parses some standard command line options. argc and argv are adjusted accordingly so your own code will never see those standard arguments. This function will terminate your program if it was unable to initialize the library for some reason. If you want your program to fall back to a textual interface you want to call Gdk::GL::init_check() instead.
|
|
Initialize gdkglextmm library.
This function does the same work as Gdk::GL::init() with only a single change: It does not terminate the program if the library can't be initialized. Instead it returns This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.
|
|
Initialize gdkglextmm library.
This function does the same work as Gdk::GL::init() with only a single change: It does not terminate the program if the library can't be initialized. Instead it returns This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.
|
|
|
|
Indicates whether the window system supports the OpenGL extension (GLX, WGL, etc.).
|
|
Determines whether a given OpenGL extension is supported. There must be a valid current Gdk::GL::Drawable to call Gdk::GL::Query::gl_extension(). Gdk::GL::Query::gl_extension() returns information about OpenGL extensions only. This means that window system dependent extensions (for example, GLX extensions) are not reported by Gdk::GL::Query::gl_extension().
|
|
Determines whether a given OpenGL extension is supported. There must be a valid current Gdk::GL::Drawable to call Gdk::GL::Query::gl_extension(). Gdk::GL::Query::gl_extension() returns information about OpenGL extensions only. This means that window system dependent extensions (for example, GLX extensions) are not reported by Gdk::GL::Query::gl_extension().
|
|
|
|
Returns the version numbers of the OpenGL extension to the window system. In the X Window System, it returns the GLX version. In the Microsoft Windows, it returns the Windows version.
|
|
|
|
|
|
|
|
|