picogl.renderer.readback ======================== .. py:module:: picogl.renderer.readback .. autoapi-nested-parse:: A module for OpenGL framebuffer readback operations. This module provides functionalities for reading pixel and depth values from the OpenGL framebuffer using the `glReadPixels` function. It supports depth component sampling and utility methods for acquiring data. Classes: - GLReadback: Provides static and instance methods for reading depth data. Classes ------- .. autoapisummary:: picogl.renderer.readback.GLReadback Module Contents --------------- .. py:class:: GLReadback gl Readback class .. py:method:: read_depth(x, y, w, h) :staticmethod: .. py:method:: read_pixels(depth: numpy.ndarray[Any, numpy.dtype[Any]] | numpy.ndarray[Any, numpy.dtype[numpy.generic]], x: int, y_gl: int)