picogl.backend.legacy.core.renderer.opengl
Provides a legacy OpenGL rendering backend for handling OpenGL state changes and material properties.
This module defines the LegacyOpenGLBackend class, which allows enabling and disabling OpenGL capabilities, configuring blending functions, managing depth masks, and setting material properties. It serves as an abstraction over low-level OpenGL calls using the pyOpenGL library.
Classes
Legacy OpenGL Backend |
Module Contents
- class picogl.backend.legacy.core.renderer.opengl.LegacyOpenGLBackend[source]
Bases:
picogl.renderer.backend.RenderBackendLegacy OpenGL Backend
- set_material(face: picogl.backend.gl.capability.GLMaterialFace, mat: picogl.backend.gl.capability.PhongMaterial)[source]