Sampler
=======

.. py:currentmodule:: moderngl

.. autoclass:: moderngl.Sampler

Create
------

.. automethod:: Context.sampler
   :noindex:

Methods
-------

.. automethod:: Sampler.use
.. automethod:: Sampler.clear
.. automethod:: Sampler.assign
.. automethod:: Sampler.release

Attributes
----------

.. autoattribute:: Sampler.texture
.. autoattribute:: Sampler.repeat_x
.. autoattribute:: Sampler.repeat_y
.. autoattribute:: Sampler.repeat_z
.. autoattribute:: Sampler.filter
.. autoattribute:: Sampler.compare_func
.. autoattribute:: Sampler.anisotropy
.. autoattribute:: Sampler.border_color
.. autoattribute:: Sampler.min_lod
.. autoattribute:: Sampler.max_lod
.. autoattribute:: Sampler.extra
.. autoattribute:: Sampler.mglo
.. autoattribute:: Sampler.ctx
