DirectX: About DirectX LockRect ()

I'm new to directx, and I'm trying to figure out why we need to block the surface before we can manipulate it? Can someone help me explain?

+3
source share
1 answer

You need Locksurfaces and buffers to tell the GPU that you are managing these resources. They are needed to synchronize the GPU and the program running on the CPU.

+3
source

All Articles