Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6008129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:46:51+00:00 2026-05-23T01:46:51+00:00

I would basically like to screen capture a GPU result into a bitmap file

  • 0

I would basically like to screen capture a GPU result into a bitmap file using .NET. I would probably use XNA and my workflow would be something like:

  1. Call an effect with custom input data
  2. Have the effect run a per-pixel process
  3. Get the result from the effect (???)
  4. Save result as bitmap

Thanks…


Edit

Summary from Liortal’s answer:

To use a render target, create a
RenderTarget2D object with the width,
height, and other options you prefer.
Then call
GraphicsDevice.SetRenderTarget to make
your render target the current render
target. From this point on, any Draw
calls you make will draw into your
render target. When you are finished
with the render target, call
GraphicsDevice.SetRenderTarget to a
new render target (or null for the
back buffer). Then at any time you can
call RenderTarget2D.GetTexture to get
the contents of the render target for
further processing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:46:52+00:00Added an answer on May 23, 2026 at 1:46 am

    Read more about Render Targets and how to use them here: http://msdn.microsoft.com/en-us/library/bb976073.aspx

    Note that the link refers up to XNA 3.1, here’s a post by the awesome Shawn Hargreaves about changes made in this area in XNA 4: http://blogs.msdn.com/b/shawnhar/archive/2010/03/26/rendertarget-changes-in-xna-game-studio-4-0.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I pushed a full screen UIViewController into a UINavigationController and would like to
I would like to use databinding when displaying data in a TextBox. I'm basically
I would like to do the following. Basically have a stored procedure call another
Basically, I would like a brief explanation of how I can access a SQL
Basically, I would like to build a list comprehension over the cartesian product of
This is something that I think would be very useful. Basically, I'd like there
Would it be possible to show an image in full screen mode using silverlight.
Basically I would like the dialog to remain centered when resizing the window (or
How would I go about locking a screen like Keychain does, meaning preventing all
So, using a HTML 5 compliant video player, (like Video JS) how would one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.