Skip to content

Commit 7775564

Browse files
authored
stop re-exporting RenderAssetUsages from bevy_render (#20470)
# Objective - I believe I left this here to ease migration in the previous release, but shouldn't be re-exported long-term. ## Solution - yeet ## Testing - ci
1 parent 5816169 commit 7775564

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/bevy_render/src/erased_render_asset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{
33
RenderSystems, Res,
44
};
55
use bevy_app::{App, Plugin, SubApp};
6-
pub use bevy_asset::RenderAssetUsages;
6+
use bevy_asset::RenderAssetUsages;
77
use bevy_asset::{Asset, AssetEvent, AssetId, Assets, UntypedAssetId};
88
use bevy_ecs::{
99
prelude::{Commands, EventReader, IntoScheduleConfigs, ResMut, Resource},

release-content/migration-guides/bevy_render_reorganization.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ Import them directly or from `bevy::mesh` now, as the re-exports will be removed
2020

2121
Image types have been moved to a new crate, `bevy_image`, but continue to be re-exported by `bevy_render` for now.
2222
Import them directly or from `bevy::image` now, as the re-exports will be removed.
23+
24+
RenderAssetUsages is no longer re-exported by `bevy_render`. Import it from `bevy_asset` instead.

0 commit comments

Comments
 (0)