Struct three_d::renderer::light::Lights [−][src]
pub struct Lights {
pub ambient: Option<AmbientLight>,
pub directional: Vec<DirectionalLight>,
pub spot: Vec<SpotLight>,
pub point: Vec<PointLight>,
pub lighting_model: LightingModel,
}
Fields
ambient: Option<AmbientLight>
directional: Vec<DirectionalLight>
spot: Vec<SpotLight>
point: Vec<PointLight>
lighting_model: LightingModel
Implementations
pub fn iter<'a>(&'a self) -> LightsIterator<'a>ⓘNotable traits for LightsIterator<'a>impl<'a> Iterator for LightsIterator<'a> type Item = &'a dyn Light;
Notable traits for LightsIterator<'a>
impl<'a> Iterator for LightsIterator<'a> type Item = &'a dyn Light;
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Lights
impl !UnwindSafe for Lights
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more