Struct rin::scene::light::shadow::Parameters[][src]

pub struct Parameters {
    pub map_size: u16,
    pub resolution: Resolution,
    pub left: f32,
    pub right: f32,
    pub bottom: f32,
    pub top: f32,
    pub near_clip: f32,
    pub far_clip: f32,
    pub bias: f32,
    pub depth_clamp: bool,
}

Fields

map_size: u16resolution: Resolutionleft: f32right: f32bottom: f32top: f32near_clip: f32far_clip: f32bias: f32depth_clamp: bool

Implementations

impl Parameters[src]

pub fn frustum_size(
    &self
) -> Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>
[src]

Trait Implementations

impl Clone for Parameters[src]

impl Debug for Parameters[src]

impl<'de> Deserialize<'de> for Parameters[src]

impl Serialize for Parameters[src]

impl Copy for Parameters[src]

Auto Trait Implementations

impl RefUnwindSafe for Parameters

impl Send for Parameters

impl Sync for Parameters

impl Unpin for Parameters

impl UnwindSafe for Parameters

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

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

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

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

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

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> Serialize for T where
    T: Serialize + ?Sized
[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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