uWindowCapture is an Unity asset to capture windows and make them available in Unity as Texture2D
.
https://github.com/hecomi/uWindowCapture.git#upm
to Package Manager.https://registry.npmjs.com
com.hecomi
Check out the following article (written in Japanese, so please use a translation service).