- Home /
What is the cost of ComputeShader.SetBuffer
I would like to know if ComputeShader.SetBuffer has any overhead.
I have a ComputeBuffer that I want to share between kernels since its rather large and I will need to set the Buffer for each kernel that needs to modify it.
Setting it to multiple kernels seems to work fine but I am wondering if there are any gotchas or if there is a cost to setting the buffer to multiple kernels(like... does it have a completely separate copy in memory per kernel or does it just share the same memory between kernels).
Your answer

Follow this Question
Related Questions
Do non-rendered gameobjects use memory? 1 Answer
Why do textures take double memory on iOS and Android devices? 1 Answer
Is PlayerPrefs efficient for mobile devices? 2 Answers
Unity warnings outside of editor. Does it impact application performance? 0 Answers
Good Looking Grass With Low Batch Count 2 Answers