picogl.backend.geometry.mesh ============================ .. py:module:: picogl.backend.geometry.mesh .. autoapi-nested-parse:: GPU-resident mesh abstraction. Classes ------- .. autoapisummary:: picogl.backend.geometry.mesh.GPUMesh Module Contents --------------- .. py:class:: GPUMesh Bases: :py:obj:`abc.ABC` Uploaded or CPU-bound geometry ready for bind + draw. .. py:method:: bind() -> None :abstractmethod: Bind GPU buffers or client arrays for drawing. .. py:method:: draw(mode: int) -> None :abstractmethod: Issue draw calls for the bound mesh. .. py:method:: unbind() -> None Release binding after draw (optional). .. py:method:: delete() -> None Release GPU resources (optional).