PixelBitmapContent.SetPixelData Method
Sets the bitmap content using the specified encoded byte array.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public override void SetPixelData (
byte[] sourceData
)
Parameters
- sourceData
New bitmap content.
See Also
Reference
PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista