picogl.buffers.vertex.registry ============================== .. py:module:: picogl.buffers.vertex.registry .. autoapi-nested-parse:: 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 ---------- .. autoapisummary:: picogl.buffers.vertex.registry.GL_REGISTRY Classes ------- .. autoapisummary:: picogl.buffers.vertex.registry.GLObjectAttrs picogl.buffers.vertex.registry.GLObjectInfo Functions --------- .. autoapisummary:: picogl.buffers.vertex.registry.debug_vao picogl.buffers.vertex.registry.dump_gl_registry picogl.buffers.vertex.registry.store_in_gl_registry Module Contents --------------- .. py:class:: GLObjectAttrs GL Object Attributes .. py:attribute:: handle :value: 'handle' .. py:attribute:: label :value: 'label' .. py:attribute:: created_context :value: 'created_context' .. py:attribute:: current_context :value: 'current_context' .. py:class:: GLObjectInfo .. py:attribute:: handle :type: int .. py:attribute:: type :type: str .. py:attribute:: label :type: str .. py:attribute:: created_at :type: float .. py:attribute:: context_id :type: Optional[int] :value: None .. py:attribute:: attributes :type: dict .. py:data:: GL_REGISTRY :type: Dict[int, GLObjectInfo] .. py:function:: debug_vao(vao) .. py:function:: dump_gl_registry() .. py:function:: store_in_gl_registry(handle: int, label: str, ctx_id: int, buffer_type: str = 'VAO') store in gl registry