Bitmap.SetPixel(x,y, Color) too slow

前端 未结 4 1525
醉话见心
醉话见心 2021-01-19 17:44

So currently I\'m creating a 1000x1000 bitmap and it\'s spending about .3 seconds simply calling the Bitmap.SetPixel() function.

I\'m actually only drawing probably

4条回答
  •  感情败类
    2021-01-19 18:21

    Bob Powell has an excellent tutorial on accessing pixel maps directly in memory.

提交回复
热议问题