.. module:: wx.glcanvas


.. include:: headings.inc

=========================================================================
**wx.glcanvas**
=========================================================================

These classes enable viewing and interacting with an OpenGL context in a wx.Window.


Class Summary
=============

================================================================================ ================================================================================
**Class**                                                                        **Short Description**
================================================================================ ================================================================================
`~wx.glcanvas.GLAttribsBase`                                                     This is the base class for :ref:`wx.glcanvas.GLAttributes`  and :ref:`wx.glcanvas.GLContextAttrs`.
`~wx.glcanvas.GLAttributes`                                                      This class is used for setting display attributes when drawing through OpenGL ("Pixel format" in MSW and OSX parlance, "Configs" in X11).
`~wx.glcanvas.GLCanvas`                                                          :ref:`wx.glcanvas.GLCanvas`  is a class for displaying OpenGL graphics.
`~wx.glcanvas.GLContext`                                                         An instance of a :ref:`wx.glcanvas.GLContext`  represents the state of an OpenGL state machine and the connection between OpenGL and the system.
`~wx.glcanvas.GLContextAttrs`                                                    This class is used for setting context attributes.
================================================================================ ================================================================================


.. toctree::
   :maxdepth: 1
   :hidden:

   wx.glcanvas.GLAttribsBase
   wx.glcanvas.GLAttributes
   wx.glcanvas.GLCanvas
   wx.glcanvas.GLContext
   wx.glcanvas.GLContextAttrs