DxtBitmapContent.TryCopyFrom Method
Attempts to copy from a specified region to another.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected override bool TryCopyFrom (
BitmapContent sourceBitmap,
Rectangle sourceRegion,
Rectangle destinationRegion
)
Parameters
- sourceBitmap
Bitmap being copied from. - sourceRegion
Region of bitmap being copied. - destinationRegion
Region being copied to.
Return Value
trueif successful; false otherwise.
See Also
Reference
DxtBitmapContent Class
DxtBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista