mode ==== .. py:module:: mode .. autoapi-nested-parse:: gl polygon mode context manager Attributes ---------- .. autoapisummary:: mode.gl_polygon_mode Functions --------- .. autoapisummary:: mode.gl_polygon_mode_context Module Contents --------------- .. py:function:: gl_polygon_mode_context(mode: picogl.backend.gl.state.fill.GLFillMode) -> Iterator[None] Temporarily set polygon mode and restore the previous front/back modes on exit. .. py:data:: gl_polygon_mode