INNER CODE UNIT · Python

update

BrokenSource/DepthFlow · depthflow/scene.py:111

    def update(self) -> None:
        # Animation code here!
        ...

    def handle(self, message: ShaderMessage) -> None:
        ShaderScene.handle(self, message)

        if isinstance(message, ShaderMessage.Window.FileDrop):
            self.input(image=message.first, depth=message.second)

    def pipeline(self) -> Iterable[ShaderVariable]:
        yield from ShaderScene.pipeline(self)
        yield from self.state.pipeline()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…