texture module¶
This module processes an application’s textures
- class texture.Texture(app)[source]¶
Bases:
objectLoad and manage 2D and cubemap textures.
Handles texture loading, processing, and OpenGL resource management.
- destroy()[source]¶
Release all texture resources from memory.
Clean up loaded textures when texture manager is destroyed.
- get_depth_texture()[source]¶
Create depth texture for shadow mapping.
- Returns:
Depth texture configured for shadow rendering
- Return type: