开发者

DirectX: Fastest way to draw Pixels

I have to draw several thousands of pixels per frame for a falling sand animation, up to now I drawed them with Sprite.Draw (and a 1x1 Texture), but this only worked for resolutions 256x256 or lower. So is there an faster alternative to draw individual pixels?

(Shaders will not w开发者_StackOverflow中文版ork for my problem, since the logic is applied according to the pixels state)


You could try drawing points. I found this but it is only for DirectX 9.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜