CGFX: Difference between revisions

Line 378: Line 378:
|-
|-
| 0x0
| 0x0
| 0x4
| Flags
|-
| 0x4
| 0x4
| 0x4
| Magic "TXOB"
| Magic "TXOB"
|-
|-
| 0x14
| 0x18
| 0x4
| 0x4
| Texture height
| Texture height
|-
|-
| 0x18
| 0x1C
| 0x4
| 0x4
| Texture width
| Texture width
|-
|-
| 0x30
| 0x28
| 0x1
| 0x4
| Mipmap levels
|-
| 0x34
| 0x4
| Texture format ID (see table below)
| Texture format ID (see table below)
|-
|-
| 0x38
| 0x3C
| 0x4
| 0x4
| Texture height (?)
| Texture height (?)
|-
|-
| 0x3C
| 0x40
| 0x4
| 0x4
| Texture width (?)
| Texture width (?)
|-
|-
| 0x40
| 0x44
| 0x4
| 0x4
| Texture data size
| Texture data size
|-
|-
| 0x44
| 0x48
| 0x4
| 0x4
| Texture data offset (self-relative)
| Texture data offset (self-relative)