Many immediately drawn bezier polylines, rotate existing path or create new paths for performance?
According to the tooltip using Draw.Rotation frequently to set the drawing matrix rotation can be expensive, due to needing to re-calculate the scale.
But I'd like to be able to draw many (potentially dozens) of the same bezier polyline path, but at different locations, scale, and rotations.
What would be best practice for this situation? Should I rotate while using the same path or make a different path for each polyline? (and break instancing?) Is Draw.Rotate somehow more efficient than Draw.Rotation?
usually the right answer is almost always "test it on your platform", but I'm fairly certain modifying Draw.Matrix and reusing the same polyline will be faster, at least if it's dynamic. changing the shape or coordinates of a polyline can be expensive if done every frame, definitely more expensive than calling Draw.Rotate