Esempio n. 1
0
        private bool OnLoad(AppLoadEvent e)
        {
            AXProfiler.Capture(() =>
            {
                _imGuiLayer = _layerFactory.CreateImGuiLayer(_window.NativeWindow, _window.InputContext);
                PushLayer(_imGuiLayer);

                foreach (Layer layer in _layers)
                {
                    layer.OnLoad();
                }

                _renderCommandDispatcher.Init();
            });

            return(true);
        }