Share via


ISwapChainBackgroundPanelNative-Schnittstelle (windows.ui.xaml.media.dxinterop.h)

Ermöglicht die Zusammenarbeit zwischen XAML und einer DirectX-Swapchain.

Vererbung

Die ISwapChainBackgroundPanelNative-Schnittstelle erbt von der IUnknown-Schnittstelle . ISwapChainBackgroundPanelNative verfügt auch über folgende Membertypen:

Methoden

Die ISwapChainBackgroundPanelNative-Schnittstelle verfügt über diese Methoden.

 
ISwapChainBackgroundPanelNative::SetSwapChain

Legt die DirectX-Swapchain für SwapChainBackgroundPanel fest.

Hinweise

Diese Schnittstelle stellt die native Implementierung des Windows::UI::XAML::Control::SwapChainBackgroundPanel Windows-Runtime Typs bereit. Um einen Zeiger auf ISwapChainBackgroundPanelNative zu erhalten, müssen Sie eine SwapChainBackgroundPanel-instance in IInspectable oder IUnknown umwandeln und QueryInterface aufrufen.


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

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 8.1 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 R2 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile windows.ui.xaml.media.dxinterop.h

Weitere Informationen

Interoperabilität von DirectX und XAML