picogl.utils.mesh.cube_mesh =========================== .. py:module:: picogl.utils.mesh.cube_mesh .. autoapi-nested-parse:: Unit cube mesh (positions + UVs) for textured tutorial examples. Classes ------- .. autoapisummary:: picogl.utils.mesh.cube_mesh.CubeMesh Module Contents --------------- .. py:class:: CubeMesh(vertices: list[float], texcoords: list[float]) Unit cube with position + UV buffers (non-indexed glDrawArrays). .. py:attribute:: vertices .. py:attribute:: texcoords .. py:attribute:: vertex_buffer :type: int | None :value: None .. py:attribute:: uv_buffer :type: int | None :value: None .. py:attribute:: _vertex_count .. py:method:: with_flipped_v() -> CubeMesh .. py:method:: upload() -> None .. py:method:: draw() -> None