Skip to content

Commit 28b05a8

Browse files
authored
Update README.md
Add note on parenting entities with many children
1 parent 3bb1545 commit 28b05a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ private Path GetNewPath()
149149
* On a GTX 10606GB- All of the demos (using 10-15000 skinned mesh) will run at above 150FPS.
150150
* Without LOD- Maybe 20-30FPS. There is simply too many animated vertices.
151151
* This library has very little CPU overhead. You will only really get CPU overhead from populating the buffers which send data to the GPU.
152+
* Changing the depth of entities with many children can be expensive. If you need to reparent entities with many children, try keeping them at the same hierarchy depth before and after reparenting.
152153
* You can create/modify/and destroy instances on different threads than the Unity Main update thread.
153154
* That being said, thread safety for this library is implented via simple mutual exclusion locks.
154155

@@ -161,4 +162,4 @@ private Path GetNewPath()
161162
* There is also an optional per-instance color that you can set.
162163
* If you want to modify the compute shader and add your own stuff- you can overwrite some of the fields in the property struct safely.
163164
* You can overwrite the offset/tiling if you dont need them. You can overwrite the color if you dont need it. You can overwrite the pathInstanceTicks if not using a path. You can overwrite the instanceTicks if not using an animation. The pad2 field is completely unused- you can use it for whatever without any worries.
164-
* What version of Unity is supported? Unity 2023.2 is what this project was most recently built with- but it should work for most versions. See *branches* for versions with explicit support.
165+
* What version of Unity is supported? Unity 2023.2 is what this project was most recently built with- but it should work for most versions. See *branches* for versions with explicit support.

0 commit comments

Comments
 (0)