SetStripIndices
function · ffxeffects · orchestration
- Address
0x6cd810· 44 bytes, up to0x6cd83b- Meaning
- Fills a four-index buffer from the strip order table and passes it to the device
- Confidence
- verified, proof one
- Finding
- ffxeffects/targets#pass-target-and-draw-state
Finding: Pass target and draw state in ffxeffects: render targets and the quad
0x6cd3c0 (ecx a target descriptor) prepares a pass: it saves the device's projection (0x58b090)
in 0xce8a48 and its view (0x58b0b0) in 0xce8a08, installs the orthographic matrix (0, w, 0, h, −1, 1) of the target's +0xc and +0x10 and an identity view, clears the render states 0x14,
0xe, 0x10, 0x12 and 0xf, binds the target, and sets the viewport to (0, w/allocW, 0, h/allocH, 0, 1). 0x6cd840 restores the saved matrices, rebinds the screen and sets the viewport (0, 1, 0, 1, 0, 1). 0x6cd810 builds a 4-index buffer from the strip order 0, 3, 1, 2 (0x86f260) and passes
it to the device.
The derivation is in the doc.
Callers 3
- RenderBox4Pass ffxeffects
- RenderGauss4Pass ffxeffects
- RenderGlowWavePass ffxeffects
Callees 3
- 0x58a0c0 gx
- GxBufCreate gx
- PassBufferToDevice gx
Calls and jumps by a bare address, from tables/calls.tsv.