The methods of the Wgl class are listed below. For a complete list of Wgl class members, see the Wgl Members topic.
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglCopyContext function copies selected groups of rendering states from one OpenGL rendering context to another. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglCreateContext function creates a new OpenGL rendering context, which is suitable for drawing on the device referenced by deviceContext. The rendering context has the same pixel format as the device context. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglCreateLayerContext function creates a new OpenGL rendering context for drawing to a specified layer plane on a device context. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | |
![]() ![]() | The wglDeleteContext function deletes a specified OpenGL rendering context. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglGetCurrentContext function obtains a handle to the current OpenGL rendering context of the calling thread. |
![]() ![]() | The wglGetCurrentDC function obtains a handle to the device context that is associated with the current OpenGL rendering context of the calling thread. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglGetLayerPaletteEntries function retrieves the palette entries from a given color-index layer plane for a specified device context. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglGetProcAddress function returns the address of an OpenGL extension function for use with the current OpenGL rendering context. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The wglMakeCurrent function makes a specified OpenGL rendering context the calling thread's current rendering context. All subsequent OpenGL calls made by the thread are drawn on the device identified by deviceContext. You can also use wglMakeCurrent to change the calling thread's current rendering context so it's no longer current. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglRealizeLayerPalette function maps palette entries from a given color-index layer plane into the physical palette or initializes the palette of an RGBA layer plane. |
![]() ![]() | Overloaded. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglSetLayerPaletteEntries function sets the palette entries in a given color-index layer plane for a specified device context. |
![]() ![]() | Overloaded. |
![]() ![]() | The wglShareLists function enables multiple OpenGL rendering contexts to share a single display-list space. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The wglSwapLayerBuffers function swaps the front and back buffers in the overlay, underlay, and main planes of the window referenced by a specified device context. |
![]() ![]() | |
![]() ![]() | The wglUseFontBitmaps function creates a set of bitmap display lists for use in the current OpenGL rendering context. The set of bitmap display lists is based on the glyphs in the currently selected font in the device context. You can then use bitmaps to draw characters in an OpenGL image. The wglUseFontBitmaps function creates count display lists, one for each of a run of count glyphs that begins with the first glyph in the deviceContext parameter's selected fonts. |
![]() ![]() | The wglUseFontOutlines function creates a set of display lists, one for each glyph of the currently selected outline font of a device context, for use with the current rendering context. The display lists are used to draw 3-D characters of TrueType fonts. Each display list describes a glyph outline in floating-point coordinates. The run of glyphs begins with the first glyph of the font of the specified device context. The em square size of the font, the notional grid size of the original font outline from which the font is fitted, is mapped to 1.0 in the x- and y-coordinates in the display lists. The extrusion parameter sets how much depth the font has in the z direction. The glyphMetrics parameter returns a Gdi.GLYPHMETRICSFLOAT structure that contains information about the placement and orientation of each glyph in a character cell. |
![]() ![]() | |
![]() ![]() |
![]() | |
![]() | |
![]() | |
![]() |
Wgl Class | Tao.Platform.Windows Namespace