Meta3D-Technology / Meta3D

开源Web3D低代码平台,一条龙可视化搭建Web3D应用、编辑器、引擎,共建开放互助的Web3D生态

Home Page:https://meta3d-website.4everland.website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perf: optimize editor->IMGUI

yyc-git opened this issue · comments

commented

TODO use ImGui.ShowMetricsWindow() to show debug

description
run the editor is slow

reason
now even run the simplest editor(Scene View + Game View), GPU will take 8ms in each frame. the imgui cost GPU

solution
1.reduce ui size
e.g. reduce window size which are overlay by upper ui controls

but this lead only a litter increase fps

2.optimize imgui
refer to:
Performance improvement suggestion
https://community.intel.com/t5/Intel-oneAPI-Data-Parallel-C/Optimizing-Performance-and-Memory-Usage-in-ImGui-based/td-p/1464228
Could ImGUI Be the Future of GUIs?

TODO optimize Scene/Game View?

3.imgui use webgpu backend

/*
4..use UIElements
refer to:
https://blog.csdn.net/u010019717/article/details/102540067
https://www.slideshare.net/unity3d/built-for-performance-the-uielements-renderer-unite-copenhagen-2019

*/