BitmapContent.SetPixelData Method

Writes encoded bitmap content.

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

Syntax

public virtual abstract void SetPixelData (
         byte[] sourceData
)

Parameters

  • sourceData
    Array containing encoded bitmap data to be set.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista