Extract extract to bevy_extract#22852
Open
Zeophlite wants to merge 21 commits into
Open
Conversation
Zeophlite
force-pushed
the
extract-extract
branch
from
February 7, 2026 14:18
598daa2 to
0285ca3
Compare
Contributor
|
You added a new feature but didn't update the readme. Please run |
Zeophlite
force-pushed
the
extract-extract
branch
from
February 7, 2026 14:56
463d2c8 to
c8866d1
Compare
Zeophlite
commented
Feb 7, 2026
atlv24
reviewed
Feb 7, 2026
atlv24
left a comment
Contributor
There was a problem hiding this comment.
This is skipping a few steps but its roughly the goal. We need a few preparatory steps, each of these should be its own PR:
- The resource marker change to allow orphan rule circumvention on resource impls
- Making ExtractPlugin take the app label (RenderApp) as generic parameter instead of hardcode
- Making ExtractPlugin take a schedule to run and having its own internal extract schedule which handles the pre and post actions, running the user provided systemset/schedule in the middle
- improving the macro situation to hide existing complexity of implementations
- collapse manual implementations of extract into derive macro call or whatever
- Introducing an AppLabel marker to Extract impls to specify that they are RenderApp extract impls and tuck it away neatly into the macro
- Rename test terminology in extract_plugin.rs to not reference rendering
- finally, this PR
Zeophlite
force-pushed
the
extract-extract
branch
from
February 21, 2026 11:01
c8866d1 to
55d153b
Compare
Contributor
Author
|
New version, extending https://github.com/atlv24/bevy/tree/ad/extract-label ( #22855 )
|
Zeophlite
commented
Feb 21, 2026
Zeophlite
commented
Feb 21, 2026
Zeophlite
force-pushed
the
extract-extract
branch
from
February 21, 2026 17:08
c496d94 to
061c031
Compare
Zeophlite
marked this pull request as ready for review
February 22, 2026 16:32
atlv24
reviewed
Feb 23, 2026
atlv24
reviewed
Feb 23, 2026
Zeophlite
commented
Feb 24, 2026
Zeophlite
commented
Feb 24, 2026
Zeophlite
force-pushed
the
extract-extract
branch
from
July 7, 2026 06:25
102020b to
5678590
Compare
Contributor
|
You added a new example but didn't add metadata for it. Please update the root Cargo.toml file. |
Zeophlite
force-pushed
the
extract-extract
branch
from
July 7, 2026 06:30
bf34f00 to
cb920e4
Compare
Zeophlite
force-pushed
the
extract-extract
branch
2 times, most recently
from
July 7, 2026 07:16
151d294 to
c368bdc
Compare
Co-authored-by: Kevin Chen <chen.kevin.f@gmail.com>
Zeophlite
force-pushed
the
extract-extract
branch
from
July 15, 2026 15:07
c368bdc to
d433574
Compare
Placeholder More skeleton Rm extract placeholders squash skeleton squash skeleton squash skeleton cargo Merge migration guides
Zeophlite
force-pushed
the
extract-extract
branch
3 times, most recently
from
July 15, 2026 15:59
5c0621e to
5c256b7
Compare
Zeophlite
force-pushed
the
extract-extract
branch
from
July 15, 2026 16:08
5c256b7 to
3555e22
Compare
Zeophlite
force-pushed
the
extract-extract
branch
from
July 16, 2026 00:02
cd7fc96 to
4cc02a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
bevy_extracttracking #24483 )Solution
ExtractComponentPluginetc. generic onAppLabel#24423bevy_extractcrate, containing "extract/sync" stuff frombevy_renderPlease review commit-by-commit (other commits are in the blocking PR):
bevy_extractcrate skeletonbevy_rendertobevy_extractExtractComponent,ExtractResourcederive macrosL = RenderAppdefault, add compat types inbevy_render, etc.)bevy_extractSimplified by #23377
Testing
cargo run --example animated_mesh