picogl.backend.gl.driver.texture ================================ .. py:module:: picogl.backend.gl.driver.texture .. autoapi-nested-parse:: Module for managing OpenGL texture creation, binding, and deletion. This module provides the functionality for creating, binding, and deleting 2D textures using OpenGL. It leverages low-level OpenGL functions as well as custom driver and utility classes to abstract and simplify texture management. Classes ------- .. autoapisummary:: picogl.backend.gl.driver.texture.GLTextureSystem Module Contents --------------- .. py:class:: GLTextureSystem(driver: picogl.texture.gltexture_driver.GLTextureDriver | None = None) Texture creation, binding, and deletion. .. py:attribute:: driver .. py:method:: create_texture(width, height, data) -> int .. py:method:: bind_texture(texture_id) :staticmethod: .. py:method:: delete_texture(tex_id: int) :staticmethod: