Question

Kellen on Thu, 10 May 2012 15:49:57


Hello, I'm continuing my work trying to get a 3rd party video renderer to render to a Metro application.  What I'd like to do is write a bitmap directly to the directx backbuffer.  Is that possible or do I have to have some kind of surface to texture?  Would this be easier to do in direct2d?

So far I've tried to do this in a few different ways but I can't get my bitmap to show up.  


Sponsored



Replies

Jesse Jiang on Fri, 11 May 2012 07:42:29


Hello,

 

Thanks for your feedback, I will involve more experts to investigate it.

 

Best regards,

Jesse

James Dailey - MSFT on Fri, 11 May 2012 23:16:07


Hello Kellen,

You have a few options. You can create a quad and set the texture on the quad. You can create a D3D11Resource containing a texture and then call "present" on the resource without clearing the scene.

I hope this helps,

James