c# - Best way to constantly draw large numbers of bitmaps in WPF? -
i stumped simple problem. making tile-based game engine , need able allow user edit map using wpf user interface. naively, had assumed update old fashioned "buffered" system.drawing.graphics.bitmap using graphics.fromimage. draw onto bitmap tiles make map, , blit buffer bitmap screen. however, thorough research believe isn't easy @ all.
rather bore i've found out far (that either doesn't work, or incredibly slow), may ask simply, best way continuously drawing large numbers of bitmaps efficiently via wpf ui?
i accept such suggestions "go windows forms". if that's case, going dissapointed wpf!
the writeablebitmap class high-performance wpf-compatible bitmap allows direct access bits. this msdn documentation page contains thorough example of using it.
Comments
Post a Comment