[][src]Struct rin::gl::pbr_material::Maps

pub struct Maps<P: AsRef<Path>> {
    pub base_color: Option<P>,
    pub normal: Option<P>,
    pub ambient_occlusion: Option<P>,
    pub metallic: Option<P>,
    pub roughness: Option<P>,
    pub emissive: Option<P>,
    pub anisotropy: Option<P>,
}

Used to load all the maps a PBR material can use from their paths

Fields

Trait Implementations

impl<P: Default + AsRef<Path>> Default for Maps<P>
[src]

Auto Trait Implementations

impl<P> Send for Maps<P> where
    P: Send

impl<P> Sync for Maps<P> where
    P: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[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]