Sdílet prostřednictvím


DxtBitmapContent.SetPixelData Method

Sets the contents of the bitmap using an 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
    Contents to be copied to destination bitmap.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista