简体   繁体   中英

DirectX11 Get Swapchain of a Device

I need the swapchain of a program so I can access it's backbuffer, but I can only get the device. Is there a way to get the swapchain from a device?

I don't think this is possible. An application could have any number of Swap Chains, one per pane on a UI, one per monitor, etc. How would you know which of the many swap chains that have been created is the one you want?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM