Struct ComputeFogColorEvent
pub struct ComputeFogColorEvent<'a> {
pub partial: f32,
pub camera: [f64; 3],
pub fog_type: FogType,
pub rgb: &'a mut [f32; 3],
}Expand description
What Hooks::compute_fog_color is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§partial: f32§camera: [f64; 3]§fog_type: FogType§rgb: &'a mut [f32; 3]Auto Trait Implementations§
impl<'a> !UnwindSafe for ComputeFogColorEvent<'a>
impl<'a> Freeze for ComputeFogColorEvent<'a>
impl<'a> RefUnwindSafe for ComputeFogColorEvent<'a>
impl<'a> Send for ComputeFogColorEvent<'a>
impl<'a> Sync for ComputeFogColorEvent<'a>
impl<'a> Unpin for ComputeFogColorEvent<'a>
impl<'a> UnsafeUnpin for ComputeFogColorEvent<'a>
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