Пример #1
0
 public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps)
 {
     return fromBitmap(data, generateMipMaps, false, 1);
 }
Пример #2
0
 public static AsTexture fromBitmap(AsBitmap data)
 {
     return fromBitmap(data, true, false, 1);
 }
Пример #3
0
 public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps, bool optimizeForRenderTexture)
 {
     return fromBitmap(data, generateMipMaps, optimizeForRenderTexture, 1);
 }
Пример #4
0
 public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps, bool optimizeForRenderTexture, float scale)
 {
     return fromBitmapData(data.getBitmapData(), generateMipMaps, optimizeForRenderTexture, scale);
 }
Пример #5
0
 public static AsImage fromBitmap(AsBitmap bitmap)
 {
     return fromBitmap(bitmap, true, 1);
 }
Пример #6
0
 public static AsImage fromBitmap(AsBitmap bitmap, bool generateMipMaps)
 {
     return fromBitmap(bitmap, generateMipMaps, 1);
 }
Пример #7
0
 public static AsImage fromBitmap(AsBitmap bitmap, bool generateMipMaps, float scale)
 {
     return new AsImage(AsTexture.fromBitmap(bitmap, generateMipMaps, false, scale));
 }