I’m having some performance issues with DrawNode, and I’m trying to figure out what’s really happening.
The only thing on my scene right now is a DrawNode on which I call drawPolygon to draw a rectangle using 4 Points. (0 width and 0 alpha border)
But when I inspect the DrawNode, I see that _bufferCount is 30, and _buffer has a bunch of strange values.
Drawing a rectangle only should only need 6 vertices, so what is going on here?
Btw: I looked at the source code for drawPolygon, and there is a loot going on here, but non of which I’m competent enough to understand