mode

gl polygon mode context manager

Attributes

gl_polygon_mode

Functions

gl_polygon_mode_context(mode) → Iterator[None]

Temporarily set polygon mode and restore the previous front/back modes on exit.

Module Contents

mode.gl_polygon_mode_context(mode: picogl.backend.gl.state.fill.GLFillMode) → Iterator[None][source]

Temporarily set polygon mode and restore the previous front/back modes on exit.

mode.gl_polygon_mode[source]