Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Sets the bitmap content using the specified encoded byte array.
Syntax
'Declaration
Public Overrides Sub SetPixelData ( _
sourceData As Byte() _
)
public override void SetPixelData (
byte[] sourceData
)
public:
void SetPixelData(
unsigned char sourceData[]
) override
Parameters
- sourceData
Type: Byte
New bitmap content.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP