Jump to content

Recommended Posts

Render target is just like a paper. You simply draw whatever you want on the paper and finally, render the paper instead of rendering every single piece of 2D element or objects that you want to render. This is will save you expensive CPU cycles and thus give you better FPS. Now, what if you want to update the elements on the render target every 10 seconds? Well, you can destroy the render target and recreate it, draw (rectangles, images or text) on it and render it. Sounds good but what if you want to update the render target every 0.1 second or even faster? then that's where you cannot use render target. You'll need to render the drawing by calling it every 60 seconds or more ( That's how onClientRender works ).

Read this: https://msdn.microsoft.com/en-us/library/bb976073(v=xnagamestudio.31).aspx

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...