Наследование: IDisposable
        public void launch(object data)
        {
            renderer = new RenderEngine();
            renderer.models = (RenderBase.OModelGroup)data;
            renderer.initialize(Screen.Handle, Screen.Width, Screen.Height);

            ModelsPanel.launch(renderer);
            TexturesPanel.launch(renderer);
            SkeletalAnimationsPanel.launch(renderer, FileIO.fileType.skeletalAnimation);
            MaterialAnimationsPanel.launch(renderer, FileIO.fileType.materialAnimation);
            VisibilityAnimationsPanel.launch(renderer, FileIO.fileType.visibilityAnimation);

            renderer.render();
        }
        public void launch(RenderEngine renderEngine, FileIO.fileType type)
        {
            renderer = renderEngine;
            this.type = type;
            switch (type)
            {
                case FileIO.fileType.skeletalAnimation:
                    control = renderer.ctrlSA;
                    animations = renderer.models.skeletalAnimation;
                    break;
                case FileIO.fileType.materialAnimation:
                    control = renderer.ctrlMA;
                    animations = renderer.models.materialAnimation;
                    break;
                case FileIO.fileType.visibilityAnimation:
                    control = renderer.ctrlVA;
                    animations = renderer.models.visibilityAnimation;
                    break;
            }

            control.FrameChanged += Control_FrameChanged;
            updateList();
        }
 public void launch(RenderEngine renderer)
 {
     this.renderer = renderer;
     updateList(renderer.models.texture);
 }