-
I briefly checked new pipelined rendering and it seems RenderStage::Extract stage clones all heavy resources such as Images or Meshes. This looks very wasteful... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
We've discussed this before on discord, and iirc, it was only adding the new items based on the events. See e.g. |
Beta Was this translation helpful? Give feedback.
-
Yes, resource extraction is performed only for changed resources, that is fine. But the render world stores copies of such resources. I can be wrong and probably e.g. images are removed from CPU memory after corresponding GPU buffers are created - it should be fine in this case. |
Beta Was this translation helpful? Give feedback.
-
Yes, prepare_assets consumes assets, so it seems to be ok. |
Beta Was this translation helpful? Give feedback.
We've discussed this before on discord, and iirc, it was only adding the new items based on the events.
See e.g.
https://discord.com/channels/691052431525675048/743663924229963868/891477293506117642