At present, screenshots are a good method, and for today's OCR recognition, screenshots are the first step
OpenGL DirectX is a more advanced approach