Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 580 Bytes

buffer.rst

File metadata and controls

34 lines (25 loc) · 580 Bytes

Buffer

.. py:module:: moderngl.next
.. py:currentmodule:: moderngl.next

.. autoclass:: moderngl.next.Buffer

Create

.. automethod:: Context.buffer
    :noindex:

Methods

.. automethod:: Buffer.write
.. automethod:: Buffer.read
.. automethod:: Buffer.read_into
.. automethod:: Buffer.map
.. automethod:: Buffer.unmap
.. automethod:: Buffer.clear
.. automethod:: Buffer.bind_to_uniform_block
.. automethod:: Buffer.bind_to_storage_buffer

Attributes

.. autoattribute:: Buffer.size
.. autoattribute:: Buffer.extra

.. toctree::
    :maxdepth: 2