pub fn apply_part_overrides(
part_overrides: &mut [Option<PartOverride>],
cached_parts: &[CachedPartData],
keys: &KeyColumns<'_>,
parts_vec: &mut [PartState],
parts_color_vec: &mut Vec<PartAttributePartColor>,
cell_vec: &mut Vec<PartAttributeCell>,
cell_meta_per_part: &mut [f32],
cell_texture_hashes: &mut [u32],
override_cell_uv_meta: &mut [Option<ResolvedCellMeta>],
override_hide_workspace: &mut Vec<bool>,
passed_frames: &[i32],
update: u64,
)Expand description
Apply the override table on the resolved pose at the seam.
override_hide_workspace is a caller-owned scratch buffer (reused frame to
frame to avoid hot-path allocation); its contents on entry are irrelevant.
parts_color_vec is the resolved layer’s per-part color side vector; a color
override appends a resolved entry and repoints PartState.part_color (the
side vecs are rebuilt from the primary every frame, so appends never
accumulate across frames). A cell override likewise appends to cell_vec,
overwrites the parallel cell_meta_per_part (6 floats/part) + the
cell_texture_hashes slot, and repoints PartState.cell. update is the
context’s Context::update count, which an OverwriteOnNextKeyframe override’s first evaluation
records.