Partager via


RenderTarget2D Members

The following tables list the members exposed by the RenderTarget2D type.

Public Constructors

Name Description
Public Method RenderTarget2D Overloaded. Initializes a new instance of this class.

Public Properties

Name Description
Public Property Bounds (Inherited from Texture2D.)
Public Property DepthStencilFormat Gets the data format for the depth stencil data.
Public Property Format (Inherited from Texture.)
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property Height (Inherited from Texture2D.)
Public Property IsContentLost Determines if the index buffer data has been lost due to a lost device event.
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property LevelCount (Inherited from Texture.)
Public Property MultiSampleCount Gets the number of sample locations during multisampling.
Public Property Name (Inherited from GraphicsResource.)
Public Property RenderTargetUsage Gets or sets the render target usage.
Public Property Tag (Inherited from GraphicsResource.)
Public Property Width (Inherited from Texture2D.)

Public Methods

Name Description
Public Method Dispose (Inherited from GraphicsResource.)
Public Method Equals (Inherited from Object.)
Public Method GetData (Overloaded. Inherited from Texture2D.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method SaveAsJpeg (Inherited from Texture2D.)
Public Method SaveAsPng (Inherited from Texture2D.)
Public Method SetData (Overloaded. Inherited from Texture2D.)
Public Method ToString (Inherited from GraphicsResource.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from GraphicsResource.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event ContentLost Occurs when resources are lost due to a lost device event.
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

RenderTarget2D Class
Microsoft.Xna.Framework.Graphics Namespace