Add new components to the prelude

This commit is contained in:
tim-blackbird 2024-09-05 00:01:06 +02:00
parent 5b2e9aa3cd
commit 027d7b835f
2 changed files with 3 additions and 3 deletions

View file

@ -38,8 +38,8 @@ pub use scene_spawner::*;
pub mod prelude {
#[doc(hidden)]
pub use crate::{
DynamicScene, DynamicSceneBuilder, DynamicSceneBundle, Scene, SceneBundle, SceneFilter,
SceneSpawner,
DynamicScene, DynamicSceneBuilder, DynamicSceneBundle, DynamicSceneHandle, Scene,
SceneBundle, SceneFilter, SceneHandle, SceneSpawner,
};
}

View file

@ -13,6 +13,7 @@
//!
//! * Clicking anywhere moves the object.
use bevy::color::palettes::css::*;
use bevy::core_pipeline::Skybox;
use bevy::math::{uvec3, vec3};
use bevy::pbr::irradiance_volume::IrradianceVolume;
@ -20,7 +21,6 @@ use bevy::pbr::{ExtendedMaterial, MaterialExtension, NotShadowCaster};
use bevy::prelude::*;
use bevy::render::render_resource::{AsBindGroup, ShaderRef, ShaderType};
use bevy::window::PrimaryWindow;
use bevy::{color::palettes::css::*, scene::SceneHandle};
/// This example uses a shader source file from the assets subdirectory
const SHADER_ASSET_PATH: &str = "shaders/irradiance_volume_voxel_visualization.wgsl";