pub fn extract_text2d_sprite(
    commands: Commands<'_, '_>,
    extracted_sprites: ResMut<'_, ExtractedSprites>,
    texture_atlases: Extract<'_, '_, Res<'_, Assets<TextureAtlasLayout>>>,
    windows: Extract<'_, '_, Query<'_, '_, &Window, With<PrimaryWindow>>>,
    text2d_query: Extract<'_, '_, Query<'_, '_, (Entity, &ViewVisibility, &Text, &TextLayoutInfo, &Anchor, &GlobalTransform)>>
)
Expand description

This system extracts the sprites from the 2D text components and adds them to the “render world”.