s_gxMultisampleVar
global · ffxeffects
- Address
0xce89fc· 4 bytes, up to0xce89ff- Type
void *- Meaning
- Holds the CVar record of gxMultisample
- Confidence
- verified, proof one
- Finding
- ffxeffects/objects#start-and-shutdown
Finding: Start and shutdown in ffxeffects: pass objects and effects
0x6ccfc0 registers the CVars ffx (full screen effects) and ffxRectangle (use rectangle texture for full screen effects), each with default 1 and the handler 0x6cde30, looks up
gxMultisample, clears the target descriptors, and sets 0xce89f8 to 1 when ffxRectangle's
integer is nonzero and caps+0x98 is 6, 7, 8 or 10, else 0. 0x6cde30 prints enabled for a
nonzero atoi of the new value and disabled otherwise, and returns 1; the effects register
ffxGlow and ffxDeath with it too. 0x6cd1d0 destroys the textures of the seven target
descriptors (0x58ad60 where a handle is set) and zeroes them.
The derivation is in the doc.