Hi,
I wanted to pass some vertices from CPU to GPU's computeShader's kernel via GraphicsBuffer, but I stumbled upon some incosistent information.
https://docs.unity3d.com/ScriptReference/GraphicsBuffer-ctor.html states that **GraphicsBuffer** constructor takes **target** as the first argument, which should enable you to choose indices or vertices (as per description), but https://docs.unity3d.com/ScriptReference/GraphicsBuffer.Target.html shows that only indices are available. How to make it work with vertices?
↧