chore: Renamed RenderInstance trait to ExtractInstance#10065
chore: Renamed RenderInstance trait to ExtractInstance#10065superdump merged 2 commits intobevyengine:mainfrom
Conversation
|
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
|
Is this a breaking change relative to Bevy 0.11? |
|
@alice-i-cecile no. It's new API that was added to @jancespivo - The |
It shouldn't be. This is "only" renaming of types introduced in #10002 |
@superdump ok, sorry for rushing from my side. If it is more comfortable to have a discussion in the issue, let's move there. This is just quick and dirty renaming done in 2 minutes, so no problem for me. Feel free to close this PR :) |
|
I don't have any opinion on the naming. Feel free to rename. |
85d0fcd to
4afd3e4
Compare
struct Body;
impl ExtractInstance for Body {
type Query = Read<ArHeadset>;
type Filter = ();
fn extract(item: QueryStuff) -> Self {}
}
pub struct ExtractedInstances<T>;
pub struct ExtractInstancePlugin;FYI, this was the consensus naming on Discord. |
1b0f89c to
211ed32
Compare
211ed32 to
260db53
Compare
) # Objective Fixes [bevyengine#10061] ## Solution Renamed `RenderInstance` to `ExtractInstance`, `RenderInstances` to `ExtractedInstances` and `RenderInstancePlugin` to `ExtractInstancesPlugin`
) # Objective Fixes [bevyengine#10061] ## Solution Renamed `RenderInstance` to `ExtractInstance`, `RenderInstances` to `ExtractedInstances` and `RenderInstancePlugin` to `ExtractInstancesPlugin`
Objective
Fixes [#10061]
Solution
Renamed
RenderInstancetoExtractInstance,RenderInstancestoExtractedInstancesandRenderInstancePlugintoExtractInstancesPlugin