ISwapChainPanelNative 인터페이스(windows.ui.xaml.media.dxinterop.h)

XAML과 DirectX 스왑 체인 간의 상호 운용성을 제공합니다. SwapChainBackgroundPanel과 달리 SwapChainPanel은 XAML 표시 트리의 모든 수준에 표시될 수 있으며 지정된 트리에 1개 이상이 있을 수 있습니다.

상속

ISwapChainPanelNative 인터페이스는 IUnknown 인터페이스에서 상속됩니다. ISwapChainPanelNative 에는 다음과 같은 유형의 멤버도 있습니다.

메서드

ISwapChainPanelNative 인터페이스에는 이러한 메서드가 있습니다.

 
ISwapChainPanelNative::SetSwapChain

SwapChainPanel에 대한 DirectX 스왑 체인을 설정합니다.

설명

이 인터페이스는 Windows::UI::XAML::Control::SwapChainPanel Windows 런타임 형식의 네이티브 구현을 제공합니다. ISwapChainPanelNative에 대한 포인터를 가져오려면 SwapChainPanel instance IInspectable 또는 IUnknown으로 캐스팅하고 QueryInterface를 호출해야 합니다.


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

요구 사항

   
지원되는 최소 클라이언트 Windows 8.1 [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2012 R2 [데스크톱 앱 | UWP 앱]
대상 플랫폼 Windows
헤더 windows.ui.xaml.media.dxinterop.h

추가 정보

ISwapChainBackgroundPanelNative

SwapChainPanel