开发者

DirectX: about DirectX LockRect()

I am new to directx, and I am trying to un开发者_开发技巧derstand why do we need to lock surface before we can manipulate it? Can anyone help me explain?


You have to Lock surfaces and buffers in order to tell the GPU, that you are manipulating these resources. These are necessary to syncronize the GPU and the program running on the CPU.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜