- Home /
Question by
TinyMuffin · Jan 13 at 02:47 PM ·
materialcompute shaderdrawmeshmaterialpropertyblock
Change compute buffer for a set of objects
I gone through the example of DrawMeshInstancedIndirect().
This works fine when I want to display a huge amount of objects. Now i want to only update some position of the position buffer shown in the example. The rest of it should still be rendered with the positions as before. I dont want to update the entire buffer.
How would I do that? Is SetConstantBuffer() with a MaterialPropertyBlock the right approach?
Comment