Fill Tessellation in C# Job in Sprite Shape 5.1.0

In Sprite Shape version 5.1.0, there is now an additional option to have the tessellation of the fill geometry done in a C# Job providing improved performance.

The geometry of a Sprite Shape is made up of an outer edge and a fill. The geometry of the edge and fill are generated in different ways by default. The edge geometry has always been generated in a C# Job which provides performance benefits and avoids potential performance loss from garbage collection. Now the generation of the fill shape can take advantage of the same benefits.

This method also gains additional performance if the Burst package is installed in the same Project.

Read more about this option in the documentation here:

1 Like