diff options
| author | Valentin Popov <valentin@popov.link> | 2026-10-11 17:48:40 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-10-11 17:48:40 +0300 |
| commit | d7fb0416e8327e847169bb49eb2ac29fd7a8cfc0 (patch) | |
| tree | 4706bf7aed7aaf38704a37fe3e0090a50291644c /docs/reference | |
| parent | 1c4140792def36042d641ec7456817a1f73512ba (diff) | |
| download | fparkan-d7fb0416e8327e847169bb49eb2ac29fd7a8cfc0.tar.xz fparkan-d7fb0416e8327e847169bb49eb2ac29fd7a8cfc0.zip | |
docs: clarify native TEXM channel conversion
Diffstat (limited to 'docs/reference')
| -rw-r--r-- | docs/reference/texm.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/reference/texm.md b/docs/reference/texm.md index 9f2f23d..26fd8b8 100644 --- a/docs/reference/texm.md +++ b/docs/reference/texm.md @@ -31,9 +31,9 @@ struct TexmHeader32 { Короткие каналы расширяются до 8 bits повторением значимых bits. Для 888 служебный четвёртый byte сохраняется в raw mip, но не попадает в RGBA output. Native Ngi32 code confirms this layout: VA `0x10005930` packs `0xAARRGGBB` into -ARGB4444, while VA `0x1000F620`/`0x1000F70C` route 888/8888 through the byte-copy -path at `0x1000F730`, without a channel swizzle. On disk, little-endian bytes -are `[B,G,R,A]` for 8888 and `[B,G,R,X]` for 888. +ARGB4444. VA `0x1000F620`/`0x1000F70C` select the format-specific converter for +888/8888; the mip pointer is passed unchanged, without a channel swizzle. On +disk, little-endian bytes are `[B,G,R,A]` for 8888 and `[B,G,R,X]` for 888. ## Layout |
