Problem: How to display a 3d object in swapchainbackgroundpanel xaml control


  • Hi,

    I face a problem, that I learn the Microsoft samples: direct3d tutorials, and I want to transplant the lesson 3 source code. but I found the cube didn't display in the swapchainbackgroundpanel xaml control.  But I transplant the lesson2 , It works. but in Render() function.  I can change the swapchainbackgroundpanel color. I don't know what's the problem of my code?

    I use CreateSwapChainForComposition function to create the swapchain.

    which can cause the problem?


    Wednesday, July 25, 2012 3:33 AM


All replies