Mipmap Type
A series of images at different resolutions for the same texture.
Extension
.mipmapset
Folder Contents
Images for each resolution of the texture.
Contents.json File
Metadata and level mapping information for the mipmap is show in (Table 23-1).
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Versioning information for the asset catalog. |
|
String |
The application that authored the asset catalog. |
|
Number |
The version of the asset catalog. |
|
Dictionary |
Properties for the mipmap atlas. |
|
String |
How the images levels in the mipmap apply to the texture. For the values, see level-mode below. |
|
Array of dictionaries |
The different levels of resolutions for the mipmap. |
|
Slot component |
The color gamut of the device display. For the values, see display-gamut in Image Set Type. |
|
String |
The |
|
Slot Component |
The idiom of the icon. For the values, see idiom in Image Set Type. |
|
String |
The mipmap texture level for the image. For the values, see mipmap-level below. |
Values for Enumerated Tags
display-gamut
See display-gamut in Image Set Type.
level-mode
How the images levels in the mipmap apply to the texture. For the values, see (Table 23-2).
Value |
Description |
---|---|
Tag not included |
Metal generates all the mipmap levels from the base image. |
|
Metal does not generate mipmap levels from the base image. |
|
Metal generates all the mipmap levels from the base image. |
|
Metal generates all the mipmap levels between the base image and the maximum mipmap level provided in mipmap-level. |
mipmap-level
The level for an image in the mipmap. For the values, see (Table 23-3).
Sample Contents.json File
{
"properties" : {
"level-mode" : base
},
"levels" : [
{
"filename" : "WalkingLlamaBase.png",
"mipmap-level" : "base"
}
],
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09