You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to read back what's rendered in the window.
I basically want to read pixels from the current frame's texture.
But this would fail giving an error that the texture doesn't have COPY_SRC as its usage.
the texture is a SurfaceTexture obtained from the render window's surface. I didn't create it, is there a way to use it as COPY_SRC?
Or do I have to render it to an offscreen surface?
Beta Was this translation helpful? Give feedback.
All reactions