You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm converting part of an existing app to use instancing. In different parts of the codebase, the same object is created, so I'd like to replace those with instances. I figured out I can create InstancedEntities myself and use a shared InstancedMesh2. However, I still have to manage the current instance index when adding instances,and I still have to swap instances when removing an instance.
Would you be open for an API addition on InstancedMesh2 that'd allow users to add and remove InstancedEntities explicitly? If so, I could prepare a PR.
The text was updated successfully, but these errors were encountered:
I would like to be able to handle the array of instances in the same way that arrays are handled in javascript.
If you'd like we can write to each other on discord (there is the server linked in the README), so you can help me implement and decide the API if you want 😄
I'm converting part of an existing app to use instancing. In different parts of the codebase, the same object is created, so I'd like to replace those with instances. I figured out I can create InstancedEntities myself and use a shared InstancedMesh2. However, I still have to manage the current instance index when adding instances,and I still have to swap instances when removing an instance.
Would you be open for an API addition on InstancedMesh2 that'd allow users to add and remove InstancedEntities explicitly? If so, I could prepare a PR.
The text was updated successfully, but these errors were encountered: