Skip to main content
1 of 2
Bartimaeus
  • 161
  • 1
  • 9

Difference between ComputeBuffer and GraphicsBuffer?

At first I thought that ComputeBuffer's could only be used in compute shaders and that GraphicsBuffer's could only be used in materials. But Unity provides overloads for setting ComputeBuffer and GraphicsBuffer to both compute shaders and materials. So how do they differ?

Bartimaeus
  • 161
  • 1
  • 9