共用方式為


PixelBitmapContent Generic Class

Note

This generic class is available only when developing for Windows.

Provides methods for maintaining a 2D array of pixel values.

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

Syntax

public class PixelBitmapContent<T> : BitmapContent where T : 

Remarks

Pixel bitmaps are represented as a 2D array of independent pixel values. The pixel type will often be from the Graphics.PackedVector namespace, but can also be System.Single, Vector2, Vector3, or Vector4. A pixel bitmap of Vector4 values is commonly used as an intermediate format for image manipulation operations.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP