BeginCurrentFfx
function · ffxeffects · primitive
- Address
0x6cd890· 472 bytes, up to0x6cda67- Meaning
- Begins the current full-screen effect: resizes the targets, binds the full target and sets the viewport
- Confidence
- verified, proof one
- Finding
- ffxeffects/objects#begin-and-end
Finding: Begin and end in ffxeffects: pass objects and effects
0x6cd890 runs before the world paint and 0x6cda70 after. Both do nothing unless the ffx
CVar's integer, the pixelShaders CVar's integer (0xc7f360), the current effect 0xce8bb4 and its
slot 1 are all nonzero. Begin calls 0x58a1e0(6, 1) on entry and (6, 0) once the checks pass, and
resizes the targets by 0x6cdb40 when the window size changed. With gxMultisample 1 it binds the
full target and sets the viewport to the window's extents over the full target's allocation (at most
1); otherwise to the full target's size over the window's (at most 1). End unbinds the full target
(gxMultisample 1) or copies the backbuffer into it (0x58ae00), renders the effect through slot 2,
and sets the whole viewport.
The derivation is in the doc.
Callers 2
Callees 9
- __ftol crt
- 0x589d30 gx
- GxMasterEnableSet gx
- GxCapsDrawRect gx
- SetClearColorDevice gx
- 0x58a940 gx
- ClearDevice gx
- SetDeviceViewport gx
- ComputeTargetSizes ffxeffects
Calls and jumps by a bare address, from tables/calls.tsv.