1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <title>ImageTextureCtr</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><ImageTextureCtr></h1> 11 <h2>Description</h2> 12 <p> 13 Tag denoting an image texture. The child hierarchy of this tag stores the texture information and pixel image. 14 </p> 15 <h2>Attributes</h2> 16 <table class="arguments"> 17<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead><tr><td>ImageDataEncoding</td><th><CODE>Encoding</CODE></th><td> 18 The encoding type. 19 </td></tr><tr><td>PixelBasedImagePixelFormatCtr</td><th>Format</th><td> 20 The texture's pixel format. 21 </td></tr><tr><td /><th>Height</th><td> 22 Image height. 23 </td></tr><tr><td /><th>MipmapSize</th><td> 24 The number of texture mipmap levels. 25 </td></tr><tr><td /><th>Name</th><td> 26 Name. 27 </td></tr><tr><td /><th>Path</th><td> 28 The path for the original file. 29 </td></tr><tr><td /><th>Width</th><td> 30 Image width. 31 </td></tr></table> 32 <h2><CODE>ImageDataEncoding</CODE> Enumerated Type</h2> 33 <table class="arguments"> 34<thead><tr><td>Value</td><td>Description</td></tr></thead><tr><th>Base64</th><td> 35 Base64 format. 36 </td></tr></table> 37 <h2><CODE>PixelBasedImagePixelFormatCtr</CODE>Enumerated Type</h2> 38 <table class="arguments"> 39<thead><tr><td>Value</td><td>Description</td></tr></thead><tr><th>Min</th><td>Minimum value for format type.</td></tr><tr><th>Invalid</th><td>Invalid format.</td></tr><tr><th>Rgba4</th><td>Format where 1 pixel is 2 bytes; RGBA are 4 bits each.</td></tr><tr><th>Rgb5_a1</th><td>Format where 1 pixel is 2 bytes; RGB are 5 bits each and A is 1 bit.</td></tr><tr><th>Rgba8</th><td>Format where 1 pixel is 4 bytes; RGBA are 8 bits each.</td></tr><tr><th>Rgb565</th><td>Format where 1 pixel is 2 bytes; RGB are 5, 6, 5 bits respectively.</td></tr><tr><th>Rgb8</th><td>Format where 1 pixel is 3 bytes; RGB are 8 bits each.</td></tr><tr><th>A4</th><td>Format where 1 pixel is 1 byte; Alpha is 4 bits.</td></tr><tr><th>L4</th><td>Format where 1 pixel is 1 byte; Luminance is 4 bits.</td></tr><tr><th>A8</th><td>Format where 1 pixel is 1 byte; Alpha is 8 bits.</td></tr><tr><th>L8</th><td>Format where 1 pixel is 1 byte; Luminance is 8 bits.</td></tr><tr><th>La8</th><td>Format where 1 pixel is 2 byte; Alpha and Luminance are 8 bits each.</td></tr><tr><th>La4</th><td>Format where 1 pixel is 1 byte; Alpha and Luminance are 4 bits each.</td></tr><tr><th>Shadow</th><td>Format for shadow; 1 pixel is 1 byte.</td></tr><tr><th>Gas</th><td>Format for gas; 1 pixel is 1 byte.</td></tr><tr><th>Hilo8</th><td>Format where 1 pixel is 2 bytes; X and Y are 8 bits each.</td></tr><tr><th>Etc1</th><td>1 pixel is 4 bytes equivalent compressed format .</td></tr><tr><th>Etc1_a4</th><td>1 pixel is 8 bytes equivalent compressed format .</td></tr><tr><th>Max</th><td>Maximum value for format type.</td></tr></table> 40 41<h2>Example Output</h2> 42 43<table> 44<tr> 45<td><pre> 46<Textures><br> 47 <strong><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"></strong><br> 48 <Images><br> 49 <PixelBasedImageCtr>IP8g/yD/ge4g9wLmRM2nq8LdRrxIo+uBqZJsee1wrXClvAmbKooNcax5zXCtcOuIrWiseAqR57lpoUXK4+Kg+yxxrWiseCqZy4CIqSbCAuunsaTaQuvA+4Hz4PvA82LDhNJh86D7wPPA+8DrgsvlkqHjJKvGigpKh3LLMY0ZTgE=</PixelBasedImageCtr><br> 50 </Images><br> 51 <strong></ImageTextureCtr></strong><br> 52</Textures><br> 53</pre></td> 54</tr></table> 55 56 <hr><p>CONFIDENTIAL</p></body> 57</html>