×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    305

    render UI elements to bitmap (directX texture) on WP8

    Anybody know how to render UIelement to bitmap (directX rexture) on WP8?

    all works fine on WP7 XNA

  2. #2
    Registered User
    Join Date
    Dec 2012
    Location
    Zagreb, Croatia
    Posts
    73

    Re: render UI elements to bitmap (directX texture) on WP8

    If you want to take a screenshot of your application or any other UI element, you can use the technique from this blog post.

    I am not sure if this is what you asked for. Please give us more details: which control(s) you wish to render and where do you plan on using it?

  3. #3
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    296

    Re: render UI elements to bitmap (directX texture) on WP8

    Quote Originally Posted by to_pe View Post
    If you want to take a screenshot of your application or any other UI element, you can use the technique from this blog post.

    I am not sure if this is what you asked for. Please give us more details: which control(s) you wish to render and where do you plan on using it?
    I think what he needs, it's to render a specific hierarchy of the visual tree

  4. #4
    Registered User
    Join Date
    Dec 2012
    Location
    Zagreb, Croatia
    Posts
    73

    Re: render UI elements to bitmap (directX texture) on WP8

    WriteableBitmap.Render supports rendering of any UIElement class. Once you have your bitmap filled, you can extract pixels from it and push it downwards to DirectX.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    305

    Re: render UI elements to bitmap (directX texture) on WP8

    great
    it works

Similar Threads

  1. how to synchronize WinRT render and directX render
    By xlazom00 in forum Windows Phone General
    Replies: 3
    Last Post: 2013-03-08, 12:06
  2. DirectX speeding up CreateTexture2d
    By hdxpete in forum Windows Phone General
    Replies: 6
    Last Post: 2013-01-26, 00:27
  3. OpenGL render to texture
    By Daemoniorum in forum Symbian Media (Closed)
    Replies: 11
    Last Post: 2009-02-25, 15:01
  4. Render OpenGL to a pbuffer and then to a bitmap
    By miguelbl in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2007-11-15, 13:33
  5. mwldsym2.exe: Internal linker error for directx
    By fish_h in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-09-16, 18:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×