I'm trying to incorporate my direct2D engine into c++/xaml metro app. I want to do this by using WICBitmap as render target. Unfortunately I dont know how to convert WICBitmap to BitmapImage or any other class that xaml would understand.
I know that microsoft released examples of connecting direct2D with xaml through Direct3D using DXGISurface, but that example is way out of my reach regarding my experiance level with metro apps.
So, how to display WICBitmap in c++/xaml metro app?