UE427的SRetainerWidget为什么不利用失效框机制避免每次慢绘制呢?是有什么特殊考量么?我们的任务面板使用了该控件做了一些材质效果,但是发现这个控件会每帧执行慢绘制,整体cpu消耗比较高
[Image Removed]
UE427的SRetainerWidget为什么不利用失效框机制避免每次慢绘制呢?是有什么特殊考量么?我们的任务面板使用了该控件做了一些材质效果,但是发现这个控件会每帧执行慢绘制,整体cpu消耗比较高
[Image Removed]
应该是UE4这里没有考虑到,UE5这里已经改了,
if (RenderOnPhase) { if (LastTickedFrame != GFrameCounter && (GFrameCounter % PhaseCount) == Phase) { // If doing some phase based invalidation, just redraw everything again bRenderRequested = true; InvalidateRootLayout(); } }