FFXInitialize
function · ffxeffects · orchestration
- Address
0x6ccfc0· 515 bytes, up to0x6cd1c2- Meaning
- Registers the ffx and ffxRectangle CVars, clears the targets and sets the rectangle program flag
- 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.
Callers 2
Callees 3
- GxDeviceCaps gx
- CVar::Register cvar
- CVar::Lookup cvar
Calls and jumps by a bare address, from tables/calls.tsv.