The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RenderTargetUsage Enumeration

Determines how render target data is used once a new render target is set.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in

public enum RenderTargetUsage

 Member nameDescription
DiscardContentsAlways clears the render target data.
PlatformContentsEither clears or keeps the data, depending on the current platform. On Xbox 360, the render target will discard contents. On PC, the render target will discard if multisampling is enabled, and preserve the contents if not.
PreserveContentsAlways keeps the render target data.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2014 Microsoft