<ImageTextureCtr>

Description

Tag denoting an image texture. The child hierarchy of this tag stores the texture information and pixel image.

Attributes

TypeAttributesDescription
ImageDataEncodingEncoding The encoding type.
PixelBasedImagePixelFormatCtrFormat The texture's pixel format.
Height Image height.
MipmapSize The number of texture mipmap levels.
Name Name.
Path The path for the original file.
Width Image width.

ImageDataEncoding Enumerated Type

ValueDescription
Base64 Base64 format.

PixelBasedImagePixelFormatCtr Enumerated Type

ValueDescription
MinMinimum value for format type.
InvalidInvalid format.
Rgba4Format where 1 pixel is 2 bytes; RGBA are 4 bits each.
Rgb5_a1Format where 1 pixel is 2 bytes; RGB are 5 bits each and A is 1 bit.
Rgba8Format where 1 pixel is 4 bytes; RGBA are 8 bits each.
Rgb565Format where 1 pixel is 2 bytes; RGB are 5, 6, 5 bits respectively.
Rgb8Format where 1 pixel is 3 bytes; RGB are 8 bits each.
A4Format where 1 pixel is 1 byte; Alpha is 4 bits.
L4Format where 1 pixel is 1 byte; Luminance is 4 bits.
A8Format where 1 pixel is 1 byte; Alpha is 8 bits.
L8Format where 1 pixel is 1 byte; Luminance is 8 bits.
La8Format where 1 pixel is 2 byte; Alpha and Luminance are 8 bits each.
La4Format where 1 pixel is 1 byte; Alpha and Luminance are 4 bits each.
ShadowFormat for shadow; 1 pixel is 1 byte.
GasFormat for gas; 1 pixel is 1 byte.
Hilo8Format where 1 pixel is 2 bytes; X and Y are 8 bits each.
Etc11 pixel is 4 bytes equivalent compressed format .
Etc1_a41 pixel is 8 bytes equivalent compressed format .
QuantityThe type of the format.
MaxMaximum value for format type.

Example Output

<Textures>
<ImageTextureCtr Name="" Width="8" Height="8" MipmapSize="1" Path="C:/projects/Nintendo/CTR/tools/DccPlugin/Maya/samples/sourceimages/Number.1.tga" Encoding="Base64" Format="Rgb565">
<Images>
<PixelBasedImageCtr>IP8g/yD/ge4g9wLmRM2nq8LdRrxIo+uBqZJsee1wrXClvAmbKooNcax5zXCtcOuIrWiseAqR57lpoUXK4+Kg+yxxrWiseCqZy4CIqSbCAuunsaTaQuvA+4Hz4PvA82LDhNJh86D7wPPA+8DrgsvlkqHjJKvGigpKh3LLMY0ZTgE=</PixelBasedImageCtr>
</Images>
</ImageTextureCtr>
</Textures>

CONFIDENTIAL