Skip to content

Dual extraction#24482

Open
Zeophlite wants to merge 24 commits into
bevyengine:mainfrom
Zeophlite:ee-sync6
Open

Dual extraction#24482
Zeophlite wants to merge 24 commits into
bevyengine:mainfrom
Zeophlite:ee-sync6

Conversation

@Zeophlite
Copy link
Copy Markdown
Contributor

@Zeophlite Zeophlite commented May 29, 2026

Objective

e.g.

// Extract a component from the main subapp to the render subapp, and the audio subapp

#[derive(Component, Clone, Debug, ExtractComponent)]
#[extract_app(RenderApp, AudioApp)]
struct SomeComponent;

Solution

Reviewer notes: changes for this PR are listed below. Other commits are pre-requisties in the preceeding PRs. Please review commit-by-commit:

  • ca522dfcc9 - Dual extraction
  • acd41a4711 - Support #[extract_app(AppA,AppB)] in derive(ExtractComponent)

Testing

  • CI
  • cargo run --example animated_mesh

@Zeophlite Zeophlite added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change S-Blocked This cannot move forward until something else changes D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels May 29, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering May 29, 2026
@Zeophlite Zeophlite marked this pull request as ready for review May 29, 2026 10:12
@Zeophlite Zeophlite added this to the 0.20 milestone May 29, 2026
@Zeophlite Zeophlite added the M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change D-Straightforward Simple bug fixes and API improvements, docs, test and examples M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Blocked This cannot move forward until something else changes

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants