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?
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.
Lock