DirectX 11 Desktop Duplication API: Captured Frame Data is All Zeros
I’m developing a screen capture application using DirectX 11 and the Desktop Duplication API in C++. The goal is to capture the screen content and process it. However, I’m encountering an issue where the captured frame data is always all zeros.
tail from rendering directx translated objects
I wrote a code using c++ and directx to make a small rectangle move quickly on the screen. To make the rectangle, I glued two triangles together and timed it to determine its position. The moving rectangle make long tail on the screen which I didn’t expecte.