ISwapChainBackgroundPanelNative interface

Provides interoperation between XAML and a DirectX swap chain.

Methods

The ISwapChainBackgroundPanelNative interface has these methods.

Method Description
ISwapChainBackgroundPanelNative::SetSwapChain Sets the DirectX swap chain for SwapChainBackgroundPanel.

Remarks

This interface provides the native implementation of the Windows::UI::XAML::Control::SwapChainBackgroundPanel Windows Runtime type. To obtain a pointer to ISwapChainBackgroundPanelNative, you must cast a SwapChainBackgroundPanel instance to IInspectable or IUnknown, and call QueryInterface.


Microsoft::WRL::ComPtr<ISwapChainBackgroundPanelNative>	m_swapChainNative;
// ...
IInspectable* panelInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(swapChainPanel);
panelInspectable->QueryInterface(__uuidof(ISwapChainBackgroundPanelNative), (void **)&m_swapChainNative);
	

Requirements

   
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header windows.ui.xaml.media.dxinterop.h

See Also

DirectX and XAML interop