1개월 전 · Jul 9, 2026 2:05 AM
How to configure IDXGIOutputDuplication for zero-copy 240Hz screen capture in C++:
- Acquire DXGI device from Direct3D 11 device.
- Call
pOutput1->DuplicateOutput(pDevice, &pDuplication). - In loop, call
AcquireNextFrame(0, &frameInfo, &pResource)with 0ms timeout to poll non-blocking. - Map desktop surface directly into GPU texture or staging memory.
Average capture latency: 0.8 milliseconds at 1080p, 0% CPU usage.