EFTB: Difference between revisions
nested EMTR, some more info about TEXA and PRMA
imported>Locke |
imported>Locke (nested EMTR, some more info about TEXA and PRMA) |
||
Line 43: | Line 43: | ||
Each node in an array's tree structure is made up of a header and three optional sections. | Each node in an array's tree structure is made up of a header and three optional sections. | ||
* Binary data | * Binary data | ||
* Attribute nodes{{check}} | |||
* Child nodes | * Child nodes | ||
=== Node Header Structure === | === Node Header Structure === | ||
Line 154: | Line 154: | ||
|} | |} | ||
Emitters can also have any number of attribute nodes (e.g. CADP, CSDP, FCSF), the purpose of which is currently unknown. | Emitters can also have any number of attribute nodes (e.g. CADP, CSDP, FCSF), the purpose of which is currently unknown, as well as child emitter nodes. | ||
=== Textures (TEXA) === | === Textures (TEXA) === | ||
The Texture Array (TEXA) contains any number of Textures (TEXR), with each texture containing a single | The Texture Array (TEXA) contains any number of Textures (TEXR), with each texture containing a single GX2 Texture Block (GX2B). The TEXA tree is flattened such that all TEXR nodes appear first, followed by all of their child GX2B nodes. | ||
=== (PRMA) === | === (PRMA) === | ||
The PRMA{{check}} contains any number of PRIM{{check}} nodes. | |||
=== Shaders (SHDA) === | === Shaders (SHDA) === |