picogl.backend.gl.state.texture

Provides utilities and context managers for managing OpenGL textures.

This module defines enumerations and helper classes for texture handling, along with context managers for safely enabling and binding textures in an OpenGL environment. It aims to simplify texture management tasks and ensure proper state restoration after operations.

Classes

TexCoord2f

Tex Coord 2F

Vertex3f

Vertex 3F

Functions

texture2d_enabled()

Texture 2D Enabled

Module Contents

class picogl.backend.gl.state.texture.TexCoord2f[source]

Tex Coord 2F

u: float[source]
v: float[source]
class picogl.backend.gl.state.texture.Vertex3f[source]

Vertex 3F

x: float[source]
y: float[source]
z: float[source]
picogl.backend.gl.state.texture.texture2d_enabled()[source]

Texture 2D Enabled