pub fn set_slot_cache(data: Vec<SlotData>)
Replace the cached slot data (called by the JNI bridge before rendering).