Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 574 Bytes

vao.rst

File metadata and controls

21 lines (15 loc) · 574 Bytes

VAO

.. py:module:: demosys.opengl
.. py:currentmodule:: demosys.opengl

.. autoclass:: VAO

Methods

.. automethod:: VAO.buffer(buffer, buffer_format:str, attribute_names, per_instance=False)
.. automethod:: VAO.index_buffer(buffer, index_element_size=4)
.. automethod:: VAO.subroutines(shader, routines:tuple)
.. automethod:: VAO.release()

Draw Methods

.. automethod:: VAO.draw(shader:ShaderProgram, mode=None, vertices=-1, first=0, instances=1)
.. automethod:: VAO.transform(shader, buffer:Buffer, mode=None, vertices=-1, first=0, instances=1)