benilla-re systems structs docs

s_glTexCoordModeHandlers

global · gx

Address
0x59d334 · 28 bytes, up to 0x59d34f
Type
void *[7]
Meaning
Holds the case addresses of the OpenGL texture coordinate mode switch in 0x59d120
Confidence
verified, proof one
Finding
gx/renderstate#opengl-coordinate-modes

Finding: OpenGL coordinate modes in gx: render state

OpenGL (0x59d120) sets generation per stage: mode 0 off; mode 1 GL_OBJECT_LINEAR (0x2401) on S, T, R; modes 2 and 3 GL_EYE_LINEAR (0x2400); mode 4 0x8512; mode 5 0x8511; mode 6 follows [dev+0x39dc]. Only mode 2 loads the top view matrix, flipped through 0x5a0000; the other modes use the identity (0x591370).

The derivation is in the doc.