picogl.ui.backend.glut.window.object
This module defines a RenderWindow class that provides a unified rendering window supporting textured or untextured rendering.
The RenderWindow class extends the GlutRendererWindow and serves as an interface to render 3D models with or without textures. It uses the GLResourceRegistry to manage OpenGL resources and the ObjectRenderer to handle the rendering process.
- Classes:
RenderWindow: Unified render window supporting textured or untextured rendering.
Classes
Unified render window supporting textured or untextured rendering. |
Module Contents
- class picogl.ui.backend.glut.window.object.RenderWindow(width: int = 800, height: int = 600, title: str = 'RenderWindow', data: picogl.renderer.MeshData | None = None, base_dir: str | pathlib.Path | None = None, glsl_dir: str | pathlib.Path | None = None, use_texture: bool = False, texture_file: str | None = None, resource_subdir: str = 'tu02', *args, **kwargs)[source]
Bases:
picogl.ui.backend.glut.window.glut.GlutRendererWindowUnified render window supporting textured or untextured rendering.