[][src]Struct rin::gl::shadow_mapping::Settings

pub struct Settings {
    pub size: u16,
    pub frustum_size: f32,
    pub near_clip: f32,
    pub far_clip: f32,
    pub bias: f32,
}

Comon settings to all shadow maps

Fields

Size of the shadow square buffer

Size of the frustum (only used by directional lights)

Distance from the light to the plane where the shadow map starts to work

Distance from the light to the further plane where the shadow map stops working

Bias used to avoid shadow acne

Trait Implementations

impl Clone for Settings
[src]

Performs copy-assignment from source. Read more

impl Copy for Settings
[src]

impl Debug for Settings
[src]

Auto Trait Implementations

impl Send for Settings

impl Sync for Settings

Blanket Implementations

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

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]