locked
Write a bitmap directly to the backbuffer

    Question

  • 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.  

    Thursday, May 10, 2012 3:49 PM

Answers

  • 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


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, May 11, 2012 11:16 PM
    Moderator

All replies

  • Hello,

     

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

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Friday, May 11, 2012 7:42 AM
    Moderator
  • 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


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, May 11, 2012 11:16 PM
    Moderator