SFML community forums
Bindings - other languages => DotNet => Topic started by: omeg on May 09, 2012, 10:41:42 am
-
Why the above method omits the size parameter? In most cases you have one big array for vertex cache, its size don't usually change, but number of actual vertices does. Right now you need to reallocate the array every time the call is made and that puts a lot of strain on the GC.
-
http://en.sfml-dev.org/forums/index.php?topic=7238.0
-
Whoops, I search a bit but stopped at 2 months in the past. Thanks.
-
I've added the Draw(Vertex[], start, count, ...) overloads.
-
Awesome - it seems to work fine and I see visible FPS gain in my GWEN.Net renderer ;)