s_forcedFilterMode
global · gx
- Address
0x835250· 4 bytes, up to0x835253- Type
uint32_t- Meaning
- Holds the filter mode that forced textures take; 3 until a setter writes it
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-flags-word
Finding: Texture flags word in gx: textures
0x449ae0(out, force, in) writes out = in, except that when force is non-zero the low three bits (the filter mode) are replaced by the global [0x835250]; then, when the resulting mode is 5, bits 9 to 13 are replaced by [0x835254], otherwise by 1. 0x449ac0 and 0x449ad0 store [0x835250] and [0x835254]; their static defaults are 3 and 1. The word is the GxTex flags: bits 0 to 2 filter mode, bit 3 wrap in U, bit 4 wrap in V, bit 6 generate mip maps, bits 9 to 13 maximum anisotropy.
The derivation is in the doc.