PvrtcBitmapContent.TryCopyFrom Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Attempts to copy a region from a specified bitmap.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
protected bool TryCopyFrom( BitmapContent sourceBitmap, Rectangle sourceRegion, Rectangle destinationRegion )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- sourceBitmap
-
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
BitmapContent being copied.
- sourceRegion
-
Type: Microsoft.Xna.Framework.Rectangle
Location of sourceBitmap.
- destinationRegion
-
Type: Microsoft.Xna.Framework.Rectangle
Region of destination bitmap to be overwritten.
Return Value
Type: System.Booleantrue if region copy is supported; false otherwise.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop