picogl.backend.value

Render-state descriptors and command helpers for PicoGL backends.

The classes in this module are intentionally backend-neutral: they describe desired OpenGL state and delegate the actual gl calls to a backend object.

Functions

gl_value(→ Any)

Return a raw OpenGL value for PicoGL enums or pass raw values through.

Module Contents

picogl.backend.value.gl_value(value: Any) Any[source]

Return a raw OpenGL value for PicoGL enums or pass raw values through.