public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps) { return fromBitmap(data, generateMipMaps, false, 1); }
public static AsTexture fromBitmap(AsBitmap data) { return fromBitmap(data, true, false, 1); }
public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps, bool optimizeForRenderTexture) { return fromBitmap(data, generateMipMaps, optimizeForRenderTexture, 1); }
public static AsTexture fromBitmap(AsBitmap data, bool generateMipMaps, bool optimizeForRenderTexture, float scale) { return fromBitmapData(data.getBitmapData(), generateMipMaps, optimizeForRenderTexture, scale); }
public static AsImage fromBitmap(AsBitmap bitmap) { return fromBitmap(bitmap, true, 1); }
public static AsImage fromBitmap(AsBitmap bitmap, bool generateMipMaps) { return fromBitmap(bitmap, generateMipMaps, 1); }
public static AsImage fromBitmap(AsBitmap bitmap, bool generateMipMaps, float scale) { return new AsImage(AsTexture.fromBitmap(bitmap, generateMipMaps, false, scale)); }