public static AsImage fromBitmap(AsBitmap bitmap, bool generateMipMaps, float scale) { return(new AsImage(AsTexture.fromBitmap(bitmap, generateMipMaps, false, scale))); }