picogl.gpu.buffers.vertex.registry
A module for managing OpenGL object information.
This module defines a data structure for representing OpenGL object info, and provides a registry to store and manage these objects. It includes details such as object handle, type, label, creation time, and associated attributes.
Attributes
Classes
gl Object Attributes |
|
Functions
|
|
|
Log registered VAOs on shutdown. |
|
store in gl registry |
Module Contents
- picogl.gpu.buffers.vertex.registry.GL_REGISTRY: Dict[int, GLObjectInfo][source]
- picogl.gpu.buffers.vertex.registry.dump_gl_registry(verbose: bool | None = None) None[source]
Log registered VAOs on shutdown.
Always logs a sorted summary (counts by label) to the logger and prints that line to stdout so it stays visible above profilers or truncated IDE output.
Logs one line per VAO at INFO by default (same as pre-summary behaviour).
DUMP_GL_REGISTRY_QUIET=1— summary only (no per-VAO lines).DUMP_GL_REGISTRY_VERBOSE=0— same as quiet (optional alias).Force full listing: pass
verbose=True(overrides quiet).