Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slonopotamus/screenwidgetcomponent
A very performant replacement for screen-space Unreal Engine WidgetComponent.
https://github.com/slonopotamus/screenwidgetcomponent
umg unreal-engine
Last synced: 4 months ago
JSON representation
A very performant replacement for screen-space Unreal Engine WidgetComponent.
- Host: GitHub
- URL: https://github.com/slonopotamus/screenwidgetcomponent
- Owner: slonopotamus
- License: mit
- Created: 2024-07-29T12:25:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T08:48:34.000Z (6 months ago)
- Last Synced: 2024-08-09T11:03:46.620Z (6 months ago)
- Topics: umg, unreal-engine
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= ScreenWidgetComponent
ScreenWidgetComponent is a very performant drop-in replacement for screen-space Unreal Engine WidgetComponent.
Supports Unreal Engine 4.27 and newer.
== What's wrong with WidgetComponent?
. It uses expensive `SConstraintCanvas` internally instead of a cheaper `SCanvas`
. It uses direct `float` Z-depth, resulting in unnecessary Z-order updates.
. It reorders its children in O(n^2^) time almost every frame, leading to long tick times and multi-millisecond CPU losses on **ChildOrder** Slate invalidation.== Can optimizations this widget uses be applied to WidgetComponent?
Definitely yes, though Epics usually need several years to accept changes like this.