locked
Getting IDXGISwapChain1 from SwapChainBackgroundPanel

    Question

  • Hi all,

    Is there anyway to get IDXGISwapChain1 previously set to a ISwapChainBackgroundPanelNative?

    I followed the example at http://msdn.microsoft.com/en-us/library/windows/apps/hh825871.aspx, which covers the case of creating a new IDXGISwapChain1 and setting that to ISwapChainBackgroundPanelNative.  After the IDXGISwapChain1 is set, is there a way to get that instance back from SwapChainBackgroundPanel (or ISwapChainBackgroundPanelNative) without passing the IDXGISwapChain1 around the components?

    Thanks!

    Anthony

    Wednesday, August 29, 2012 10:00 PM

Answers

  • No, ISwapChainBackgroundPanelNative allows setting the IDXGISwapChain1, but doesn't provide a getter. You'll have to keep track of that externally.

    --Rob

    Thursday, August 30, 2012 8:02 PM
    Moderator