Method ToBitmap
ToBitmap(Texture2D, Device)
Declaration
public static Bitmap ToBitmap(this Texture2D textureToCopy, Device device)
Parameters
Type |
Name |
Description |
Texture2D |
textureToCopy |
|
Device |
device |
|
Returns
ToBitmap(Texture2D, Device, Rectangle)
Declaration
public static Bitmap ToBitmap(this Texture2D textureToCopy, Device device, Rectangle region)
Parameters
Type |
Name |
Description |
Texture2D |
textureToCopy |
|
Device |
device |
|
Rectangle |
region |
|
Returns
ToBitmap(Texture2D, Texture2D, Device, Rectangle)
Declaration
public static Bitmap ToBitmap(this Texture2D textureToCopy, Texture2D outputTexture, Device device, Rectangle region)
Parameters
Type |
Name |
Description |
Texture2D |
textureToCopy |
|
Texture2D |
outputTexture |
|
Device |
device |
|
Rectangle |
region |
|
Returns