benilla-re systems structs docs

EndCurrentFfx

function · ffxeffects · orchestration

Address
0x6cda70 · 149 bytes, up to 0x6cdb04
Meaning
Ends the current full-screen effect: unbinds or copies the full target, renders and resets 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 3

Calls and jumps by a bare address, from tables/calls.tsv.