Support for Simultaneous Render Output to Multiple Textures #6060
Closed
killer-of-Plato
started this conversation in
Ideas
Replies: 1 comment
-
That should be all you need to render to two places. That said, it would also definitely work reliably if you rendered to your |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello again,
Is there no fixed-function mechanism to save a render output to two textures simultaneously? I need to capture and display the output, and while I can wait until the next cycle to copy the texture from the swap-chain to the intermediate buffer, this would take place within the same sync block within which the swap-chain is again updated.
While I can submit the copy operation prior to the render pipeline, I cannot technically enforce that the former will complete before the latter does. I’m reasonably certain that it wouldn’t present an issue, but I really don’t know what all is going on under the hood to justify that confidence.
If there was a way to concurrently save the output to the swap-chain and a capture_texture buffer, then I would be at liberty to copy from the capture_texture without worrying about a swap-chain update.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions