Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RenderTarget2D Class

Represents a 2D texture resource that will be written to at the end of a render pass.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public class RenderTarget2D : RenderTarget

After a render pass the render target contains the color information of a rendered image.

Render targets represent a linear area of display memory and usually resides in the display memory of the display card. Because of this, objects must be recreated when the device is reset.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2015 Microsoft