Cube Texture Type
A 3D cube mapped texture.
Extension
.cubetextureset
Folder Contents
Mipmaps for the different trait configurations of each of the six cube faces. For information on the mipmap type, see Mipmap Type.
Contents.json File
Metadata, on-demand resource tags, texture information, and properties for the cube texture are shown in (Table 11-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 2D texture. |
|
String |
Interpret the file as an image or as data. For the values, see interpretation in Texture Type. |
|
Array of strings |
The on-demand resource tags for the 2D texture. |
|
String |
The origin of the coordinate system. For the values, see origin in Texture Type. |
|
Array of dictionaries |
The mipmap sets for each trait combination. The array must contain at least one texture for each of the 6 cube-face values: x+, x-, y+, y-, z+, z-. |
|
Slot component |
The color space for the data item. For the values, see color-space in Image Set Type. |
|
String |
The cube face for the mipmap. For the values, see cube-face below. |
|
Slot component |
The color gamut of the device display. For the values, see display-gamut in Image Set Type. |
|
String |
The name of the folder containing the mipmap for the trait variation. For information on the mipmap type, see Mipmap Type. |
|
Slot component |
The graphics features required for the item. For the values, see graphics-feature-set in Image Set Type. |
|
Slot component |
The device type for the image. For the values, see idiom in Image Set Type. |
|
Slot component |
The memory required by the data item. For the values, see memory in Image Set Type. |
|
String |
The format of the pixels in the image. For the values, see pixel-format in Texture Type. |
|
Slot Component |
The scale of the image. For the values, see scale in Image Set Type. |
Values for Enumerated Tags
color-space
See color-space in Image Set Type.
cube-face
The name of the cube face as a string. Values are shown in (Table 11-2).
display-gamut
See display-gamut in Image Set Type.
graphics-feature-set
See graphics-feature-set in Image Set Type.
idiom
See idiom in Image Set Type.
interpretation
See interpretation in Texture Type.
memory
See memory in Image Set Type.
origin
See origin in Texture Type.
pixel-format
See pixel-format in Texture Type.
scale
See scale in Image Set Type.
Sample Contents.json File
{
"properties" : {
"interpretation" : "colors"
},
"textures" : [
{
"filename" : "LlamaFront.mipmapset",
"cube-face" : "x+",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaBack.mipmapset",
"cube-face" : "x-",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaLeft.mipmapset",
"cube-face" : "y+",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaRight.mipmapset",
"cube-face" : "y-",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaTop.mipmapset",
"cube-face" : "z+",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaBottom.mipmapset",
"cube-face" : "x+",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
},
{
"filename" : "LlamaFront.mipmapset",
"cube-face" : "z+",
"idiom" : "Universal",
"memory" : "4GB",
"pixel-format" : "rbg-10-extended-range-sRGB"
}
]
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09