Struct rin_scene::light::LightInfo [−][src]
pub struct LightInfo {}Show fields
pub num_directional_lights: usize, pub num_spot_lights: usize, pub num_point_lights: usize, pub num_area_lights: usize, pub num_shadow_maps: usize, pub has_dynamic_shadow_maps_directional: bool, pub has_dynamic_shadow_maps_point: bool, pub has_dynamic_shadow_maps_spot: bool, pub has_static_shadow_maps_directional: bool, pub has_static_shadow_maps_point: bool, pub has_static_shadow_maps_spot: bool, pub use_ibl: bool, pub has_ambient: bool, pub shadow_map_type: Option<Discriminant<Type>>, pub debug_cascades: bool, // some fields omitted
Fields
num_directional_lights: usize
num_spot_lights: usize
num_point_lights: usize
num_area_lights: usize
num_shadow_maps: usize
has_dynamic_shadow_maps_directional: bool
has_dynamic_shadow_maps_point: bool
has_dynamic_shadow_maps_spot: bool
has_static_shadow_maps_directional: bool
has_static_shadow_maps_point: bool
has_static_shadow_maps_spot: bool
use_ibl: bool
has_ambient: bool
shadow_map_type: Option<Discriminant<Type>>
debug_cascades: bool
Implementations
impl LightInfo
[src]
impl LightInfo
[src]pub fn has_changed(&self) -> bool
[src]
pub fn shadow_map_type(&self) -> Option<&'static str>
[src]
pub fn reset_changed(&mut self)
[src]
pub fn shadow_gaussian_kernel_size(&self) -> Option<u32>
[src]
Trait Implementations
impl Copy for LightInfo
[src]
impl Eq for LightInfo
[src]
impl StructuralEq for LightInfo
[src]
impl StructuralPartialEq for LightInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for LightInfo
impl Send for LightInfo
impl Sync for LightInfo
impl Unpin for LightInfo
impl UnwindSafe for LightInfo
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> CollisionObjectHandle for T where
T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync,
[src]
T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,