ComputeShader
=============

.. py:currentmodule:: moderngl

.. autoclass:: moderngl.ComputeShader

Create
------

.. automethod:: Context.compute_shader
   :noindex:

Methods
-------

.. automethod:: ComputeShader.run
.. automethod:: ComputeShader.get
.. automethod:: ComputeShader.release
.. automethod:: ComputeShader.__eq__
.. automethod:: ComputeShader.__getitem__
.. automethod:: ComputeShader.__setitem__
.. automethod:: ComputeShader.__iter__

Attributes
----------

.. autoattribute:: ComputeShader.glo
.. autoattribute:: ComputeShader.mglo
.. autoattribute:: ComputeShader.extra
.. autoattribute:: ComputeShader.ctx

.. toctree::
    :maxdepth: 2
