.. _sphx_glr_gallery_gloo_gl:
The low-level GL module
=======================
Vispy has a low-level `gl` module which wraps `GL` calls almost to a 1-to-1 ratio. While this is intended mostly for internal use, it is possible to use this to construct programs.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /gallery/gloo/gl/images/thumb/sphx_glr_cube_thumb.png
:alt:
:ref:`sphx_glr_gallery_gloo_gl_cube.py`
.. raw:: html
Drawing a rotated 3D cube
.. raw:: html
.. only:: html
.. image:: /gallery/gloo/gl/images/thumb/sphx_glr_fireworks_thumb.png
:alt:
:ref:`sphx_glr_gallery_gloo_gl_fireworks.py`
.. raw:: html
Example demonstrating simulation of fireworks using point sprites
.. raw:: html
.. only:: html
.. image:: /gallery/gloo/gl/images/thumb/sphx_glr_quad_thumb.png
:alt:
:ref:`sphx_glr_gallery_gloo_gl_quad.py`
.. raw:: html
Drawing a simple quad
.. raw:: html
.. only:: html
.. image:: /gallery/gloo/gl/images/thumb/sphx_glr_quad_instanced_thumb.png
:alt:
:ref:`sphx_glr_gallery_gloo_gl_quad_instanced.py`
.. raw:: html
Displaying quads using Instanced rendering
.. raw:: html
.. toctree::
:hidden:
/gallery/gloo/gl/cube
/gallery/gloo/gl/fireworks
/gallery/gloo/gl/quad
/gallery/gloo/gl/quad_instanced