picogl.buffers.vao.draw

Draw a VAO with attributes

Functions

vao_draw_with_attributes(attributes, atom_count[, mode])

vao_draw_with_attributes

Module Contents

picogl.buffers.vao.draw.vao_draw_with_attributes(attributes: list, atom_count: int, mode: int = GL_POINTS)[source]

vao_draw_with_attributes

Parameters:
  • attributes – list Attributes for drawing.

  • atom_count – int Number of vertices to draw.

  • mode – int Enum specifying the gl_mode of drawing (default is GL_POINTS).

Draw the VAO with the specified gl_mode and atom count.