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: usizenum_spot_lights: usizenum_point_lights: usizenum_area_lights: usizenum_shadow_maps: usizehas_dynamic_shadow_maps_directional: boolhas_dynamic_shadow_maps_point: boolhas_dynamic_shadow_maps_spot: boolhas_static_shadow_maps_directional: boolhas_static_shadow_maps_point: boolhas_static_shadow_maps_spot: booluse_ibl: boolhas_ambient: boolshadow_map_type: Option<Discriminant<Type>>debug_cascades: bool

Implementations

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 Clone for LightInfo[src]

impl Debug for LightInfo[src]

impl Default for LightInfo[src]

impl Hash for LightInfo[src]

impl PartialEq<LightInfo> for LightInfo[src]

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<T> Downcast for T where
    T: Any
[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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoPnt<Point<T, U2>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U3>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U4>> for T where
    T: Scalar
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> JoinPnt<T, Point<T, U2>> for T where
    T: Scalar
[src]

type Output = Point<T, U3>

impl<T> JoinPnt<T, Point<T, U3>> for T where
    T: Scalar
[src]

type Output = Point<T, U4>

impl<T> JoinPnt<T, T> for T where
    T: Scalar
[src]

type Output = Point<T, U2>

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> CollisionObjectHandle for T where
    T: 'static + Copy + Hash + PartialEq<T> + Eq + Send + Sync
[src]

impl<T> Slottable for T where
    T: Copy
[src]