vanattab / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Missing DXGI SwapChain.GetBuffer() #766

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the case of multiple view, multiple swap chains are created with a single 
device. To render to a specified swap chain, I need to get the buffer of 
swapchain and set it as device's render target. But I didn't find the 
GetBuffer() function in SlimDX.

Original issue reported on code.google.com by qingrui...@gmail.com on 8 Jan 2011 at 2:56

GoogleCodeExporter commented 9 years ago
Call Resource::FromSwapChain. This invokes the IDXGISwapChain's GetBuffer 
method.

Original comment by josh.petrie on 8 Jan 2011 at 10:34