pub struct LightBakerSettings {Show 14 fields
pub ray_count_per_probe: u32,
pub bounces: u32,
pub sky_intensity: f32,
pub sky_color: Vec3,
pub sun_direction: Vec3,
pub sun_color: Vec3,
pub sun_intensity: f32,
pub probe_resolution: CubemapResolution,
pub reflection_resolution: CubemapResolution,
pub use_gpu_baking: bool,
pub compress_to_bc6h: bool,
pub generate_mipmaps: bool,
pub max_probe_iterations: u32,
pub convergence_threshold: f32,
}Fields§
§ray_count_per_probe: u32§bounces: u32§sky_intensity: f32§sky_color: Vec3§sun_direction: Vec3§sun_color: Vec3§sun_intensity: f32§probe_resolution: CubemapResolution§reflection_resolution: CubemapResolution§use_gpu_baking: bool§compress_to_bc6h: bool§generate_mipmaps: bool§max_probe_iterations: u32§convergence_threshold: f32Trait Implementations§
Source§impl Clone for LightBakerSettings
impl Clone for LightBakerSettings
Source§impl Debug for LightBakerSettings
impl Debug for LightBakerSettings
Auto Trait Implementations§
impl Freeze for LightBakerSettings
impl RefUnwindSafe for LightBakerSettings
impl Send for LightBakerSettings
impl Sync for LightBakerSettings
impl Unpin for LightBakerSettings
impl UnsafeUnpin for LightBakerSettings
impl UnwindSafe for LightBakerSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.