Every part’s base for an animation under one coordinate setup: its state
with the attributes that never change during the animation
(CachedPartData::constant_mask) already applied. extract_pose starts
each part from its base and evaluates only the rest.
Per-frame mesh deform for one part, retained from Phase 1’s evaluate_deform
so the Phase 2 mesh-vertex pass can consume it. indices selects which mesh
vertices are deformed; dx/dy are the matching SoA deltas in part-local
space (Y-down flip already applied). All three empty when the part has no
deform this frame.
Stride (number of f32s) per part in the local_vertices SoA buffer.
Layout: [lt.x, lt.y, rt.x, rt.y, lb.x, lb.y, rb.x, rb.y, center.x, center.y]
in part-local space, with coordinate_system (Y-Up/Y-Down) flip already applied.
Stride (number of f32s) per part in the shape_vertices and
shape_vertex_box_coords buffers (ss_runtime_get_shape_vertices and
ss_runtime_get_shape_vertex_box_coords in the C-API): 12 vertices of two
floats each, the most a shape part has (a star).
Builds this frame’s Nine-Slice geometry for every nines part — the runtime
side of SsNines, driven by the part’s authored margins / fill mode and the
pose’s size and Cell.
A mesh part’s Cell, as an index for KeyColumns::cell — fixed at frame 0
per the SS mesh spec, so the first cell keyframe is authoritative. None
when the part has no cell keys.
One part’s entry in a per-part deform work area (RawVertexDeform,
PartDeformFrame): nothing until the part first carries a deform, then a
box that stays allocated and is cleared every frame. Most parts never
deform, so they cost a pointer rather than the whole entry.