共用方式為


RenderTarget.Format Property

Gets the format of the render target.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public SurfaceFormat Format { get; }

Property Value

The format of the render target.

See Also

Reference

RenderTarget Class
RenderTarget Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista