engine
engine copied to clipboard
Refactor 2d render pipeline
There is a doubt that the current BatchManager
is subordinate to the Camera
. When the number of cameras increases, the memory occupied by Batch2D
will also increase multiple times.
The same is true for
SpriteMaskBatcher
There is a doubt that the current
BatchManager
is subordinate to theCamera
. When the number of cameras increases, the memory occupied byBatch2D
will also increase multiple times.The same is true for
SpriteMaskBatcher
BatchManager has move from camera to engine