Esempio n. 1
0
    def _exit(self, node):
        """
        Overrides the AbstractSceneGraphVisitor's _exit method for an OpenGL Resize operation.

        @param node The current node in the traversal
        """
        adapter = GLNodeAdapter.adapter(node)
        if adapter:
            adapter.resize_enter(self._width, self._height)
Esempio n. 2
0
    def _exit(self, node):
        """
        Overrides the AbstractSceneGraphVisitor's _exit method for an OpenGL Render operation.

        @param node The current node in the traversal
        """
        adapter = GLNodeAdapter.adapter(node)
        if adapter:
            adapter.paint_exit()
Esempio n. 3
0
    def _exit(self, node):
        """
        Overrides the AbstractSceneGraphVisitor's _exit method with OpenGL Initialization operations.

        @param node The current node in the traversal
        """
        adapter = GLNodeAdapter.adapter(node)
        if adapter:
            adapter.initialize_exit()