답변됨 Write a bitmap directly to the backbuffer

  • 2012년 5월 10일 목요일 오후 3:49
     
     

    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.  

모든 응답

  • 2012년 5월 11일 금요일 오전 7:42
    중재자
     
     

    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

  • 2012년 5월 11일 금요일 오후 11:16
    중재자
     
     답변됨

    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/