void CopyStructureCount( GpuBuffer destBuffer, int destBufferOffset )

Summary

For GpuBuffer.UsageFlags.Append buffers there is a hidden uint 32-bit atomic counter in the buffer that contains the number of writes to the buffer after invocation of the compute shader. In order to get the value of the counter, the data needs to be copied to another GPU buffer that can be used.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.