共用方式為


BitmapContent Class

Provides properties and methods for creating and maintaining a bitmap resource.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public abstract class BitmapContent : ContentItem

Remarks

The BitmapContent class represents a single two-dimensional image with a fixed size and fixed format. Various pixel encodings are supported by subclasses of the bitmap type. Higher level constructs such as textures that may contain multiple mipmap images or cube map faces are stored as collections of multiple bitmaps.

See Also

Reference

BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista