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); }
private void OnLoad() { var appLoadEvent = new AppLoadEvent(); EventCallback(appLoadEvent); }