diff --git a/zengl-stubs/__init__.pyi b/zengl-stubs/__init__.pyi index 327011bc..04eeab24 100644 --- a/zengl-stubs/__init__.pyi +++ b/zengl-stubs/__init__.pyi @@ -301,6 +301,8 @@ class Context: includes: Dict[str, str] frame_time: int screen: int + loader: ContextLoader + lost: bool def buffer( self, data: Data | None = None, @@ -351,6 +353,7 @@ class Context: def new_frame(self, reset: bool = True, clear: bool = True, frame_time: bool = False) -> None: ... def end_frame(self, clean: bool = True, flush: bool = True, sync: bool = False) -> None: ... def release(self, obj: Buffer | Image | Pipeline | Literal['shader_cache'] | Literal['all']) -> None: ... + def gc(self) -> List[Buffer | Image | Pipeline]: ... def init(loader: ContextLoader | None = None): ... def context() -> Context: ... @@ -375,5 +378,3 @@ def bind( ) -> List[VertexBufferBinding]: ... def calcsize(layout: str) -> int: ... def loader(headless: bool = False) -> ContextLoader: ... - -default_loader: ContextLoader | None = None