ISwapChainBackgroundPanelNative interface

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 4 rated this helpful - Rate this topic

Provides interoperation between XAML and a DirectX swap chain.

Members

The ISwapChainBackgroundPanelNative interface inherits from the IUnknown interface. ISwapChainBackgroundPanelNative also has these types of members:

Methods

The ISwapChainBackgroundPanelNative interface has these methods.

MethodDescription
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);
	

See also

DirectX and XAML interop

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.