picogl.renderer.readback
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
gl Readback class |
Module Contents
- class picogl.renderer.readback.GLReadback[source]
gl Readback class
- read_pixels(depth: numpy.ndarray[Any, numpy.dtype[Any]] | numpy.ndarray[Any, numpy.dtype[numpy.generic]], x: int, y_gl: int)[source]