You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/getting_to_know/howto/content_pipeline/HowTo_PackageTextures_On_Android.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,27 @@ requireMSLicense: false
5
5
---
6
6
7
7
The Android ecosystem is unique in that the hardware it runs on can be from many different manufactures.
8
-
Unlike iOS or PC you cannot always guarantee what graphics card a user will be using. For this reason
8
+
Unlike iOS or PC, you cannot always guarantee what graphics card a user will be using. For this reason,
9
9
Android needs to have some special attention when shipping your game.
10
10
11
11
## Texture Compression
12
12
13
-
As stated in "[Why use the Content Pipeline](https://docs.monogame.net/articles/getting_started/content_pipeline/why_content_pipeline.html)" you need to be aware of the performance limitations on mobile devices.
13
+
As stated in "[Why use the Content Pipeline](https://docs.monogame.net/articles/getting_started/content_pipeline/why_content_pipeline.html)", you need to be aware of the performance limitations on mobile devices.
14
14
The graphics cards on mobile phones do not have the same kind of capabilities as those on the PC or Consoles.
15
-
They regularly have less memory and less power. So you need to make use of what you have in a more efficient way.
16
-
One of these ways is to use Texture Compression. As stated in "[Why use the Content Pipeline](https://docs.monogame.net/articles/getting_started/content_pipeline/why_content_pipeline.html)" this allows you to fit more
15
+
They usually have less memory and less power. So you need to make use of what you have in a more efficient way.
16
+
One of these ways is to use Texture Compression. As stated in "[Why use the Content Pipeline](https://docs.monogame.net/articles/getting_started/content_pipeline/why_content_pipeline.html)", this allows you to fit more
17
17
textures on the graphics card than you could if you just used raw `RGBA` textures.
18
18
19
19
## How Android deals with textures
20
20
21
21
Fortunately the Android engineers recognized that supporting all of these texture compression formats
22
-
was not an easy task. So with the introduction of the `.aab` file format they added the ability to
22
+
was not an easy task. So, with the introduction of the `.aab` file format, they added the ability to
23
23
add multiple texture format files to the package. The way the `.aab` works is that it is not the final
24
24
`.apk`. The final `.apk` will be built from the `.aab` when the game is delivered to the end user device.
25
-
As a result not all of the files in the `.aab` will make it to the device. It will filter out things like
25
+
As a result, not all of the files in the `.aab` will make it to the device. It will filter out things like
26
26
`.so` files for other cpu types, and yes, texture formats.
27
27
28
-
The `.aab` supports the following directory suffixes for texture compression
28
+
The `.aab` supports the following directory suffixes for texture compression:
29
29
30
30
| Texture Format | Suffix |
31
31
| -------------- | ------ |
@@ -39,8 +39,8 @@ The `.aab` supports the following directory suffixes for texture compression
39
39
40
40
see [https://developer.android.com/guide/playcore/asset-delivery/texture-compression](https://developer.android.com/guide/playcore/asset-delivery/texture-compression)
41
41
42
-
MonoGame has its own [TextureProcessorOutputFormat](https://docs.monogame.net/api/Microsoft.Xna.Framework.Content.Pipeline.Processors.TextureProcessorOutputFormat.html) enumeration which describes the type of Texture Compression
43
-
you use when processing an image. This following table shows you how to map that to the Suffix
42
+
MonoGame has its own [TextureProcessorOutputFormat](https://docs.monogame.net/api/Microsoft.Xna.Framework.Content.Pipeline.Processors.TextureProcessorOutputFormat.html) enumeration. It describes the type of Texture Compression
43
+
you use when processing an image. This following table shows you how to map that to the Suffix:
0 commit comments