Bagikan melalui


RenderTarget Members

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

Public Properties

Name Description
Public Property Format Gets the format of the render target.
Public Property GraphicsDevice Gets the graphics device associated with this render target resource.
Public Property Height Gets the height, in pixels, of this render target.
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property MultiSampleQuality Gets the number of quality stops available for a given multisample type.
Public Property MultiSampleType Gets the levels of full-scene multisampling that the device can apply.
Public Property Name Gets the name of this render-target resource.
Public Property ResourceManagementMode Gets the memory management mode for this render-target resource.
Public Property Tag Gets the resource tags for this render target.
Public Property Width Gets the width, in pixels, of this render target.

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Compares two objects to determine whether they are the same.
Public Method Static op_Inequality Compares two objects to determine whether they are different.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method raise_Disposing Raises the Disposing event when called from within a derived class.

Public Events

Name Description
Public Event Disposing Occurs when RenderTarget.Dispose Method is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

See Also

Reference

RenderTarget Class
Microsoft.Xna.Framework.Graphics Namespace