picogl.backend.gl.api.legacy.matrix =================================== .. py:module:: picogl.backend.gl.api.legacy.matrix .. autoapi-nested-parse:: A context manager for handling OpenGL matrix stack operations. This module provides a utility function that ensures the proper management of the OpenGL matrix stack, such as pushing and automatically restoring the matrix state within a given context. Functions --------- .. autoapisummary:: picogl.backend.gl.api.legacy.matrix.gl_pushed_matrix picogl.backend.gl.api.legacy.matrix.gl_matrix_mode_context Module Contents --------------- .. py:function:: gl_pushed_matrix() Push and automatically restore the current matrix. .. py:function:: gl_matrix_mode_context() gl matrix mode