Share via


RenderTargetCube Class

Represents a cubic 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)

Syntax

public class RenderTargetCube : RenderTarget

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

Concepts

Displays, Client Bounds, Viewports, and Back Buffers

Tasks

How to: Load Resources

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista