Expand description
Internal data for Ambient
, Directional
, and Point
lights.
Fields
color: Color
The color of the light.
intensity: f32
The intensity of the light.
Trait Implementations
impl Copy for LightData
impl StructuralPartialEq for LightData
Auto Trait Implementations
impl RefUnwindSafe for LightData
impl Send for LightData
impl Sync for LightData
impl Unpin for LightData
impl UnwindSafe for LightData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.