picogl.backend.gl.api.texture.framebuffer

A collection of OpenGL utility functions for texture and framebuffer operations.

This module provides functions to interact with OpenGL texture and framebuffers, enabling creation, binding, parameter setting, and more. These functions serve as a high-level interface for the corresponding OpenGL API calls.

Functions:. - gl_framebuffer_texture_2d: Attaches a texture to a framebuffer.

Functions

gl_framebuffer_texture_2d(target, attachment, ...) → None

gl framebuffer texture 2d

Module Contents

picogl.backend.gl.api.texture.framebuffer.gl_framebuffer_texture_2d(target: picogl.backend.gl.enums.target.frame_buffer.GLFrameBufferTarget, attachment: float | None, textarget: picogl.texture.gltexture.GLTexture, texture: int, level: int) → None[source]

gl framebuffer texture 2d