Relative Content

Tag Archive for c#unity-game-enginegraphicshlslcompute-shader

Unity: Set a mesh directly on the GPU

In unity I’m constructing a mesh on the GPU. Currently, I have to write the vertices / indices back to the CPU before setting them again in the mesh. This is very inefficient and takes about 90% of the total processing time.