benilla-re systems structs docs

CGxStringBatch::EmitGlyphQuads

function · font · primitive

Address
0x5c8710 · 1115 bytes, up to 0x5c8b6a
Signature
void __thiscall (CGxStringBatch *this, const void *quads, const float *snap, const float *pen, const uint32_t *color, const NTempest::C3Vector *anchor, uint32_t, uint32_t, uint32_t, uint32_t)
Meaning
Translates laid-out quads by the pen into the vertex buffer
Confidence
verified, proof one
Finding
font/glyphs#emitting-quads
Test
font::glyph_quad_emit_difftest

Finding: Emitting quads in font: glyph cache and atlas

0x5c8710 copies the quads of one line buffer into the batch's vertex buffer with the pen added, and with the shadow flag set first draws the shadow copy. The string's 0x5ce0c0 calls it with the main colour +0x2c, the shadow offsets +0x34, the shadow colour +0x30, the anchor +0x70, the shadow bit (flag bit 0) and flag bit 5.

The derivation is in the doc.

Callers 1

Callees 11

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