Image performance egui #797
-
Hey! I am importing an image like so:
and then displaying it in a central panel like so:
When doing that the performance tanks so hard that every action (even hover) has a 2-second delay. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are many ways to do so. You can load it in |
Beta Was this translation helpful? Give feedback.
-
Used the App::setup method and it solved the lag problem, thanks! |
Beta Was this translation helpful? Give feedback.
There are many ways to do so. You can load it in
App::setup
. Or you can store anOption<TextureId>
and fill it in when you notice it isNone
.