Replies: 1 comment
-
Sorry, I found the real reason of this issue. I will close this topic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to solve a crash, and I found the easiest solution is to disable upscaling when the window is minimized. But I am not familiar with Bevy's rendering, and cannot figure out how to obtain dimension of render target.
I think the
ViewTarget
should be what I need, but itsmain_texture
cannot reflect render target (which immediately becomes 1x1 once the window is minimized) in time. Itsout_texture
might be useful, but it is aTextureView
which does not directly reflects a texture.So, is there a way to get the dimension of render target in a
ViewNode
? Thanks.Beta Was this translation helpful? Give feedback.
All reactions