Hi,
We’ve encountered an issue with the addSlotObject() method in PIXI Spine. When we add multiple containers to a Spine instance using addSlotObject(), and all of the corresponding slots are masked using the same clipping attachment, each container still generates a separate draw calls (multiple draw calls per single attachment due to extra stencil bufor draw calls).
It seems that even though the same clipping mask is shared, the containers do not batch together as expected. This significantly increases the number of draw calls and impacts performance.
Is there any possibility to optimize this behavior?
In our projects, we often attach many containers to a Spine instance, and sometimes these containers are also masked in Spine by clipping attachments. This significantly increases the number of draw calls and likely affects overall performance.