共用方式為


RenderTargetCube Constructor

Initializes a new instance of this class.

Overload List

Name Description
RenderTargetCube (GraphicsDevice, Int32, Int32, SurfaceFormat) Initializes a new instance of this class.
RenderTargetCube (GraphicsDevice, Int32, Int32, SurfaceFormat, MultiSampleType, Int32) Initializes a new instance of this class.

Remarks

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.

See Also

Tasks

How to: Load Resources

Reference

GraphicsDeviceManager.DeviceReset Event
RenderTargetCube Class
RenderTargetCube Members
Microsoft.Xna.Framework.Graphics Namespace