Class Fox::FXGLCanvas
In: rdoc-sources/FXGLCanvas.rb
Parent: FXCanvas

FXGLCanvas is an area drawn by another object.

Methods

Public Class methods

Construct an OpenGL-capable canvas, with its own private display list.

Construct an OpenGL-capable canvas that shares its display list with another GL canvas. This canvas becomes a member of a display list share group. All members of the display list share group have to have the same visual.

Public Instance methods

Return an integer handle to the underlying OpenGL context. On Unix/Linux systems, this is the GLX rendering context returned by a call to glXCreateContext(). On Microsoft Windows systems, it is the value returns by wglCreateContext().

Return true if this canvas’ context is the current context.

Make OpenGL context current prior to performing OpenGL commands

Make OpenGL context non-current

Return true if sharing display lists.

Swap front and back buffer

[Validate]