Subroutine
==========

.. py:currentmodule:: moderngl

.. autoclass:: moderngl.Subroutine

.. autoattribute:: Subroutine.index
.. autoattribute:: Subroutine.name
.. autoattribute:: Subroutine.extra

.. toctree::
    :maxdepth: 2
