from abc import ABC, abstractmethod
[docs]
class AbstractRenderer(ABC):
@abstractmethod
[docs]
def initialize(self) -> None:
"""Subclasses must implement buffer setup."""
[docs]
def set_visibility(self, visible: bool) -> None:
"""Set the visibility of the object."""
pass
@abstractmethod
"""@abstractmethod
def delete(self):"""
"""Release resources (VAO or equivalent)."""