Texture3D
=========

.. py:currentmodule:: moderngl

.. autoclass:: moderngl.Texture3D

Create
------

.. automethod:: Context.texture3d
   :noindex:

Methods
-------

.. automethod:: Texture3D.read
.. automethod:: Texture3D.read_into
.. automethod:: Texture3D.write
.. automethod:: Texture3D.build_mipmaps
.. automethod:: Texture3D.bind_to_image
.. automethod:: Texture3D.use
.. automethod:: Texture3D.release

Attributes
----------

.. autoattribute:: Texture3D.repeat_x
.. autoattribute:: Texture3D.repeat_y
.. autoattribute:: Texture3D.repeat_z
.. autoattribute:: Texture3D.filter
.. autoattribute:: Texture3D.swizzle
.. autoattribute:: Texture3D.width
.. autoattribute:: Texture3D.height
.. autoattribute:: Texture3D.depth
.. autoattribute:: Texture3D.size
.. autoattribute:: Texture3D.dtype
.. autoattribute:: Texture3D.components
.. autoattribute:: Texture3D.glo
.. autoattribute:: Texture3D.mglo
.. autoattribute:: Texture3D.extra
.. autoattribute:: Texture3D.ctx

.. toctree::
    :maxdepth: 2
