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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -