Hi all!
I was wondering if it is possible to copy the content from a consume buffer to a structured buffer.
A little more context: I'm working with a dynamic particle system and, to accomplish inter-particle interaction, I need to compare each particle of the system against each other particle of the same system. The problem is that since I cannot index a consume buffer (to just peek at the values instead of consuming them), I don't know how to do this without copying its content to a structured buffer each frame.
Cheers and thanks in advance for your time!
PS: The reason why I don't use a structured buffer to store all particles in the first place is because the system is of variable size, creating and destroying particles each frame, which I made easily using append and consume buffers.