Skip to content

Specify AppLabel for SyncComponent / ExtractComponent / ExtractResource#24420

Open
Zeophlite wants to merge 2 commits into
bevyengine:mainfrom
Zeophlite:extract-extractb
Open

Specify AppLabel for SyncComponent / ExtractComponent / ExtractResource#24420
Zeophlite wants to merge 2 commits into
bevyengine:mainfrom
Zeophlite:extract-extractb

Conversation

@Zeophlite
Copy link
Copy Markdown
Contributor

@Zeophlite Zeophlite commented May 24, 2026

Objective

Solution

  • In order to generalise over AppLabel , we need to specify for RenderApp when we impl the trait directly (note that when we use the derive it, the macro will specify for us)

Testing

  • CI

@Zeophlite Zeophlite changed the title Specify AppLabel for SyncComponent / ExtractComponent / ExtractResource Specify AppLabel for SyncComponent / ExtractComponent / ExtractResource May 24, 2026
@Zeophlite Zeophlite added A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels May 24, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering May 24, 2026
@Zeophlite Zeophlite added S-Needs-Review Needs reviewer attention (from anyone!) to move forward and removed S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels May 24, 2026
@Zeophlite Zeophlite marked this pull request as ready for review May 24, 2026 14:20
@Zeophlite Zeophlite requested a review from atlv24 May 24, 2026 14:20
@Zeophlite Zeophlite mentioned this pull request May 24, 2026
@Zeophlite Zeophlite added this to the 0.20 milestone May 24, 2026
Copy link
Copy Markdown
Contributor

@kfc35 kfc35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

After:

```rust,ignore
impl SyncComponent<RenderApp> for TemporalAntiAliasing {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume that the vision that eventually you could specifically a different label for SyncComponent

Does that mean the SyncComponentPlugin stuff (and etc for Extracting) is going to have some type of generalized variant too instead of being specific to RenderWorld as it is currently?

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 D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants