Source code for picogl.utils.mesh.protocol

"""Protocol for meshes uploaded and drawn by textured GLUT examples."""

from __future__ import annotations

from typing import Protocol


[docs] class MeshProtocol(Protocol): """Position + UV mesh with GPU upload and draw."""
[docs] def upload(self) -> None: ...
[docs] def draw(self) -> None: ...