question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for WinUI 3 SwapChainPanel

See original GitHub issue

I’ve tried using this library with WinUI3 (Desktop) SwapChainPanel, but I get an exception when trying to cast my SwapChainPanel to a ISwapChainPanelNative interface, saying the interface is not supported.

I’m not a COM expert, so I might be wrong, but my guess is that this is due to the current ISwapChainPanelNative in Vortice.Windows is based on the interface in windows.ui.xaml.media.dxinterop.h while the WinUI 3 type should comes from microsoft.ui.xaml.media.dxinterop.h.

Would it be possible to get support for WinUI3 SwapChainPanel as well?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
amerkolecicommented, Oct 13, 2020

Tomorrow will tell you how to do it, once I get on pc

1reaction
amerkolecicommented, Oct 13, 2020

Absolutely yes, will add it tomorrow

Read more comments on GitHub >

github_iconTop Results From Across the Web

SwapChainPanel Class (Microsoft.UI.Xaml.Controls)
A SwapChainPanel element is a key component for an app that renders Microsoft DirectX graphics and then presents those visuals within a XAML...
Read more >
Setting swap chain on WinUI 3.0 SwapChainPanel · Issue #8
I'm trying to set the swap chain on a WinUI 3.0 Xaml SwapChainPanel but cannot find a way to do this using C#/DirectN....
Read more >
How to implement a SwapChainPanel with C++/WinRT ...
As a start, I create a C++/WinRT app using the "Blank App, Packaged (WinUI 3 in Desktop" template. I then add the code...
Read more >
Microsoft release Windows UI Library 3 Preview 4
WinUI 3 Preview 4 includes Visual Studio project templates to help get started building apps with a WinUI-based user interface, and a NuGet ......
Read more >
Introducing WinUI 3 Preview 1 - Windows Developer Blog
Today at Microsoft Build 2020 the WinUI team is excited to announce the latest version of WinUI 3 available for public preview: WinUI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found